summaryrefslogtreecommitdiff
path: root/apps/cmdline.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/cmdline.h')
-rw-r--r--apps/cmdline.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/cmdline.h b/apps/cmdline.h
index f47a201d..518faf06 100644
--- a/apps/cmdline.h
+++ b/apps/cmdline.h
@@ -10,12 +10,12 @@
#ifndef __XMLSEC_APPS_CMDLINE_H__
#define __XMLSEC_APPS_CMDLINE_H__
+#include <time.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-#include <time.h>
-
typedef struct _xmlSecAppCmdLineParam xmlSecAppCmdLineParam,
*xmlSecAppCmdLineParamPtr;
typedef struct _xmlSecAppCmdLineValue xmlSecAppCmdLineValue,
@@ -26,6 +26,8 @@ typedef unsigned int xmlSecAppCmdLineParamTopic;
#define xmlSecAppCmdLineParamFlagParamNameValue 0x0001
#define xmlSecAppCmdLineParamFlagMultipleValues 0x0002
+#define XMLSEC_STDOUT_FILENAME "-"
+
typedef enum {
xmlSecAppCmdLineParamTypeFlag,
xmlSecAppCmdLineParamTypeString,
@@ -53,7 +55,7 @@ time_t xmlSecAppCmdLineParamGetTime (xmlSecAppCmdLineParamPt
time_t def);
int xmlSecAppCmdLineParamsListParse (xmlSecAppCmdLineParamPtr* params,
- xmlSecAppCmdLineParamTopic topcis,
+ xmlSecAppCmdLineParamTopic topics,
const char** argv,
int argc,
int pos);