[Pkg-privacy-commits] [libgsecuredelete] 34/168: Rename namespace from SecureDelete to Gsd.
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 20:06:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository libgsecuredelete.
commit 9c9458f3e1e5c010d23deefab2ee6732b985d7ff
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Wed Oct 7 00:26:07 2009 +0200
Rename namespace from SecureDelete to Gsd.
Very useful in the C API as the old prefix is really too long and
annoying.
---
gsecuredelete/async-operation.vala | 2 +-
gsecuredelete/delete-operation.vala | 2 +-
gsecuredelete/fill-operation.vala | 2 +-
gsecuredelete/main.vala | 26 +++++++++++++-------------
gsecuredelete/mem-operation.vala | 2 +-
gsecuredelete/securedelete-operation.vala | 2 +-
gsecuredelete/swap-operation.vala | 2 +-
gsecuredelete/utils.vala | 2 +-
gsecuredelete/zeroable-operation.vala | 2 +-
9 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/gsecuredelete/async-operation.vala b/gsecuredelete/async-operation.vala
index 1b0aa9f..3ffabc1 100644
--- a/gsecuredelete/async-operation.vala
+++ b/gsecuredelete/async-operation.vala
@@ -19,7 +19,7 @@
using GLib;
-namespace SecureDelete
+namespace Gsd
{
public errordomain AsyncOperationError {
ARGS_ERROR,
diff --git a/gsecuredelete/delete-operation.vala b/gsecuredelete/delete-operation.vala
index fdb27f9..9d55403 100644
--- a/gsecuredelete/delete-operation.vala
+++ b/gsecuredelete/delete-operation.vala
@@ -19,7 +19,7 @@
using GLib;
-namespace SecureDelete
+namespace Gsd
{
public class DeleteOperation : ZeroableOperation
{
diff --git a/gsecuredelete/fill-operation.vala b/gsecuredelete/fill-operation.vala
index 69a5820..56b1edc 100644
--- a/gsecuredelete/fill-operation.vala
+++ b/gsecuredelete/fill-operation.vala
@@ -17,7 +17,7 @@
*
*/
-namespace SecureDelete
+namespace Gsd
{
public class FillOperation : ZeroableOperation
{
diff --git a/gsecuredelete/main.vala b/gsecuredelete/main.vala
index 5584971..8ddd307 100644
--- a/gsecuredelete/main.vala
+++ b/gsecuredelete/main.vala
@@ -17,7 +17,7 @@
*
*/
-using SecureDelete;
+using Gsd;
public class Test
{
@@ -30,7 +30,7 @@ public class Test
SWAP
}
- private delegate SecureDelete.SecureDeleteOperation? OperationProvider (string[] args);
+ private delegate SecureDeleteOperation? OperationProvider (string[] args);
private OperationProvider[] operations = {
prepare_delop,
@@ -67,11 +67,11 @@ public class Test
stdout.printf ("%.0f%%\n", progress * 100);
}
- private static SecureDelete.SecureDeleteOperation? prepare_delop (string[] args)
+ private static SecureDeleteOperation? prepare_delop (string[] args)
{
- var op = new SecureDelete.DeleteOperation ();
+ var op = new DeleteOperation ();
- /*op.mode = SecureDelete.SecureDeleteOperation.Mode.VERY_FAST;*/
+ /*op.mode = SecureDeleteOperation.Mode.VERY_FAST;*/
foreach (var arg in args) {
/* hack to skip the first argument */
if (arg != args[0])
@@ -84,9 +84,9 @@ public class Test
return op;
}
- private static SecureDelete.SecureDeleteOperation? prepare_fillop (string[] args)
+ private static SecureDeleteOperation? prepare_fillop (string[] args)
{
- var op = new SecureDelete.FillOperation ();
+ var op = new FillOperation ();
if (args.length != 2) {
return null;
@@ -96,19 +96,19 @@ public class Test
return op;
}
- private static SecureDelete.SecureDeleteOperation? prepare_memop (string[] args)
+ private static SecureDeleteOperation? prepare_memop (string[] args)
{
- var op = new SecureDelete.MemOperation ();
- op.mode = SecureDelete.SecureDeleteOperation.Mode.VERY_VERY_FAST;
+ var op = new MemOperation ();
+ op.mode = SecureDeleteOperation.Mode.VERY_VERY_FAST;
return op;
}
- private static SecureDelete.SecureDeleteOperation? prepare_swapop (string[] args)
+ private static SecureDeleteOperation? prepare_swapop (string[] args)
{
- var op = new SecureDelete.SwapOperation ();
+ var op = new SwapOperation ();
op.device = "/dev/sda1";
- op.mode = SecureDelete.SecureDeleteOperation.Mode.VERY_FAST;
+ op.mode = SecureDeleteOperation.Mode.VERY_FAST;
return op;
}
diff --git a/gsecuredelete/mem-operation.vala b/gsecuredelete/mem-operation.vala
index 5a5d26e..93e6e09 100644
--- a/gsecuredelete/mem-operation.vala
+++ b/gsecuredelete/mem-operation.vala
@@ -17,7 +17,7 @@
*
*/
-namespace SecureDelete
+namespace Gsd
{
/*
* TODO:
diff --git a/gsecuredelete/securedelete-operation.vala b/gsecuredelete/securedelete-operation.vala
index 1f7728c..66523ec 100644
--- a/gsecuredelete/securedelete-operation.vala
+++ b/gsecuredelete/securedelete-operation.vala
@@ -19,7 +19,7 @@
using GLib;
-namespace SecureDelete
+namespace Gsd
{
/**
diff --git a/gsecuredelete/swap-operation.vala b/gsecuredelete/swap-operation.vala
index cba5879..aff5a2f 100644
--- a/gsecuredelete/swap-operation.vala
+++ b/gsecuredelete/swap-operation.vala
@@ -17,7 +17,7 @@
*
*/
-namespace SecureDelete
+namespace Gsd
{
public class SwapOperation : ZeroableOperation
{
diff --git a/gsecuredelete/utils.vala b/gsecuredelete/utils.vala
index 2b10a5b..598d795 100644
--- a/gsecuredelete/utils.vala
+++ b/gsecuredelete/utils.vala
@@ -17,7 +17,7 @@
*
*/
-namespace SecureDelete
+namespace Gsd
{
public errordomain FDError {
diff --git a/gsecuredelete/zeroable-operation.vala b/gsecuredelete/zeroable-operation.vala
index 32f2022..3456f31 100644
--- a/gsecuredelete/zeroable-operation.vala
+++ b/gsecuredelete/zeroable-operation.vala
@@ -19,7 +19,7 @@
using GLib;
-namespace SecureDelete
+namespace Gsd
{
/**
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git
More information about the Pkg-privacy-commits
mailing list