]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhades <hades>
Wed, 14 Feb 2001 16:14:16 +0000 (16:14 +0000)
committerhades <hades>
Wed, 14 Feb 2001 16:14:16 +0000 (16:14 +0000)
allParam/include/allParam.h [new file with mode: 0644]

diff --git a/allParam/include/allParam.h b/allParam/include/allParam.h
new file mode 100644 (file)
index 0000000..f03ce8e
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef ALLPARAM_H
+#define ALLPARAM_H
+
+#define PARAM_MAX_ARRAY_LEN 128
+#define PARAM_MAX_VALUE_LEN 128
+#define PARAM_MAX_NAME_LEN 128
+
+/*********************************************************************
+ * Section containing the API for param (common to all allParam.h's) *
+ *********************************************************************/
+
+typedef struct ParamS {
+       char *strerror;
+       void *interp;
+} Param;
+
+int conParam(Param *);
+void desParam(Param *);
+
+int Param_getInt(const Param *, const char *, const char *, int *, unsigned long int *);
+int Param_getString(const Param *, const char *, const char *, int *, char *);
+int Param_getIntArray(const Param *, const char *, const char *, int, int *, unsigned long int *);
+int Param_getStringArray(const Param *, const char *, const char *, int, int *, char **);
+
+const char *Param_getErrStr(const Param *);
+
+#endif
+