summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Troan <ewt@src.gnome.org>1998-07-27 15:52:21 +0000
committerErik Troan <ewt@src.gnome.org>1998-07-27 15:52:21 +0000
commit2b3e2351372e6ca3811c80d84ba5804aaf5031f1 (patch)
tree40e1c832d0d6e88c13b22dd1794fbdbfb02230cf
parent269a10614e3a5aff9bfacdcd87bbf0b66179bc14 (diff)
downloadgnome-common-2b3e2351372e6ca3811c80d84ba5804aaf5031f1.tar.gz
1) renamed POPT_KEEP_FIRST to POPT_CONTEXT_KEEP_FIRST
2) added POPT_CONTEXT_NO_EXEC svn path=/trunk/; revision=292
-rw-r--r--support/popt-gnome.h7
-rw-r--r--support/popt.h7
2 files changed, 10 insertions, 4 deletions
diff --git a/support/popt-gnome.h b/support/popt-gnome.h
index 2d9c525..55e63a5 100644
--- a/support/popt-gnome.h
+++ b/support/popt-gnome.h
@@ -16,9 +16,12 @@
#define POPT_ERROR_BADNUMBER -17
#define POPT_ERROR_OVERFLOW -18
-/* context creation flags */
+/* poptBadOption() flags */
#define POPT_BADOPTION_NOALIAS (1 << 0) /* don't go into an alias */
-#define POPT_KEEP_FIRST (1 << 1) /* pay attention to argv[0] */
+
+/* poptGetContext() flags */
+#define POPT_CONTEXT_NO_EXEC (1 << 0) /* ignore exec expansions */
+#define POPT_CONTEXT_KEEP_FIRST (1 << 1) /* pay attention to argv[0] */
struct poptOption {
const char * longName; /* may be NULL */
diff --git a/support/popt.h b/support/popt.h
index 2d9c525..55e63a5 100644
--- a/support/popt.h
+++ b/support/popt.h
@@ -16,9 +16,12 @@
#define POPT_ERROR_BADNUMBER -17
#define POPT_ERROR_OVERFLOW -18
-/* context creation flags */
+/* poptBadOption() flags */
#define POPT_BADOPTION_NOALIAS (1 << 0) /* don't go into an alias */
-#define POPT_KEEP_FIRST (1 << 1) /* pay attention to argv[0] */
+
+/* poptGetContext() flags */
+#define POPT_CONTEXT_NO_EXEC (1 << 0) /* ignore exec expansions */
+#define POPT_CONTEXT_KEEP_FIRST (1 << 1) /* pay attention to argv[0] */
struct poptOption {
const char * longName; /* may be NULL */