summaryrefslogtreecommitdiff
path: root/src/lib-popt/poptint.h
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-02-03 16:48:02 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-02-03 16:48:02 +0000
commitab8da71d29ad30030e39fd00aa2dc09666446b61 (patch)
treed9742fb78f66f5484712ea499c1c35df15d35c9c /src/lib-popt/poptint.h
parentc403b70de4b6b03d7d823d808f6e57f55cb07155 (diff)
downloadirssi-ab8da71d29ad30030e39fd00aa2dc09666446b61.zip
Remove popt and use glib GOption commandline option parser
(glib-2.6 is now the minimum required version). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4700 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/lib-popt/poptint.h')
-rw-r--r--src/lib-popt/poptint.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/lib-popt/poptint.h b/src/lib-popt/poptint.h
deleted file mode 100644
index a1346716..00000000
--- a/src/lib-popt/poptint.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* (C) 1998 Red Hat Software, Inc. -- Licensing details are in the COPYING
- file accompanying popt source distributions, available from
- ftp://ftp.redhat.com/pub/code/popt */
-
-#ifndef H_POPTINT
-#define H_POPTINT
-
-struct optionStackEntry {
- int argc;
- char ** argv;
- int next;
- char * nextArg;
- char * nextCharArg;
- struct poptAlias * currAlias;
- int stuffed;
-};
-
-struct execEntry {
- char * longName;
- char shortName;
- char * script;
-};
-
-struct poptContext_s {
- struct optionStackEntry optionStack[POPT_OPTION_DEPTH], * os;
- char ** leftovers;
- int numLeftovers;
- int nextLeftover;
- const struct poptOption * options;
- int restLeftover;
- char * appName;
- struct poptAlias * aliases;
- int numAliases;
- int flags;
- struct execEntry * execs;
- int numExecs;
- char ** finalArgv;
- int finalArgvCount;
- int finalArgvAlloced;
- struct execEntry * doExec;
- char * execPath;
- int execAbsolute;
- char * otherHelp;
-};
-
-#ifdef HAVE_DGETTEXT
-#define D_(dom, str) dgettext(dom, str)
-#define POPT_(foo) D_("popt", foo)
-#else
-#define POPT_(foo) (foo)
-#define D_(dom, str) (str)
-#endif
-
-#endif