src-highlite.git - src-highlite

index : src-highlite.git
src-highlite
summary refs log tree commit diff
path: root/src/envmapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/envmapper.h')
-rw-r--r--src/envmapper.h 51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/envmapper.h b/src/envmapper.h
new file mode 100644
index 0000000..14a2535
--- /dev/null
+++ b/src/envmapper.h
@@ -0,0 +1,51 @@
+/*
+ * Copyright (C) 1999, 2000, 2001 Lorenzo Bettini <http://www.lorenzobettini.it>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+/*
+ * src/envmapper.h -- prototypes and definitions for src/envmapper.c
+ *
+ * 19.04.2001 [SPX] * added ENV_REQUEST_METHOD
+ * * added MAX_QUERY_STRING_LEN
+ * * added REQUEST_METHOD_GET
+ * 06.04.2001 [SPX] completed initial revision
+ * 05.04.2001 [SPX] initial revision
+ *
+ * written by Robert Wetzel <rw8@mail.inf.tu-dresden.de>
+ */
+
+#ifndef _ENVMAPPER_H__
+#define _ENVMAPPER_H__
+
+#define ENV_REQUEST_METHOD "REQUEST_METHOD"
+#define ENV_QUERY_STRING "QUERY_STRING"
+#define REQUEST_METHOD_GET "GET"
+#define MAX_PARAM_AMOUNT 128
+#define MAX_QUERY_STRING_LEN 512
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+char **map_environment(int *argc, char **argv);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* _ENVMAPPER_H__ */
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月20日 02:19:48 +0000

AltStyle によって変換されたページ (->オリジナル) /