aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-19 15:15:03 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-19 15:15:03 +0000
commit6016c98c2b4c0493ff5844f5bd79112d3f48850c (patch)
treee34b4576e2524f8f8525220925d6e4df1241a4d4 /include/asterisk
parentc6314dd7decdcaf6581e0a386dedcb997facbcd2 (diff)
add support for PARSE_DOUBLE, and remove identifiers for
types not supported (INT16 and UINT16) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93925 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/config.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h
index c60916a90..ebc71fb8a 100644
--- a/include/asterisk/config.h
+++ b/include/asterisk/config.h
@@ -289,15 +289,18 @@ enum ast_parse_flags {
/* numeric types, with optional default value and bound checks.
* Additional arguments are passed by value.
*/
- PARSE_INT16 = 0x0001,
- PARSE_INT32 = 0x0002,
- PARSE_UINT16 = 0x0003,
- PARSE_UINT32 = 0x0004,
+ PARSE_INT32 = 0x0001,
+ PARSE_UINT32 = 0x0002,
+ PARSE_DOUBLE = 0x0003,
+#if 0 /* not supported yet */
+ PARSE_INT16 = 0x0004,
+ PARSE_UINT16 = 0x0005,
+#endif
/* Returns a struct sockaddr_in, with optional default value
* (passed by reference) and port handling (accept, ignore,
* require, forbid). The format is 'host.name[:port]'
*/
- PARSE_INADDR = 0x0005,
+ PARSE_INADDR = 0x000f,
/* Other data types can be added as needed */