1.1 --- a/plugins/include/functions.inc Wed Mar 12 03:33:52 2008 +0000
1.2 +++ b/plugins/include/functions.inc Wed Mar 12 04:06:32 2008 +0000
1.3 @@ -61,9 +61,12 @@
1.4 /**
1.5 * @section Flags that are used with Call_PushArrayEx() and Call_PushStringEx()
1.6 */
1.7 +
1.8 #define SM_PARAM_COPYBACK (1<<0) /**< Copy an array/reference back after call */
1.9 +
1.10 #define SM_PARAM_STRING_UTF8 (1<<0) /**< String should be UTF-8 handled */
1.11 #define SM_PARAM_STRING_COPY (1<<1) /**< String should be copied into the plugin */
1.12 +#define SM_PARAM_STRING_BINARY (1<<2) /**< Treat the string as a binary string */
1.13
1.14 /**
1.15 * @endsection
1.16 @@ -311,6 +314,7 @@
1.17 * @param length Length of string buffer.
1.18 * @param szflags Flags determining how string should be handled.
1.19 * See SP_PARAM_STRING_* constants for details.
1.20 + * The default (0) is to push ASCII.
1.21 * @param cpflags Whether or not changes should be copied back to the input array.
1.22 * See SP_PARAM_* constants for details.
1.23 * @noreturn