TODO: idl_types.h: remove unused string stuff v4-0-idl
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Feb 2008 15:13:16 +0000 (16:13 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 15 Sep 2008 12:17:05 +0000 (14:17 +0200)
metze

source/librpc/idl/idl_types.h

index 9885ca5bf652f287a8015d6aa3e63d65ba239f20..1bfea1905451fc564dcc43d034c785309bbe3e62 100644 (file)
@@ -1,12 +1,6 @@
 #define STR_ASCII      LIBNDR_FLAG_STR_ASCII
-#define STR_LEN4       LIBNDR_FLAG_STR_LEN4
-#define STR_SIZE4      LIBNDR_FLAG_STR_SIZE4
-#define STR_SIZE2      LIBNDR_FLAG_STR_SIZE2
 #define STR_NOTERM     LIBNDR_FLAG_STR_NOTERM
 #define STR_NULLTERM   LIBNDR_FLAG_STR_NULLTERM
-#define STR_BYTESIZE   LIBNDR_FLAG_STR_BYTESIZE
-#define STR_CONFORMANT  LIBNDR_FLAG_STR_CONFORMANT
-#define STR_CHARLEN    LIBNDR_FLAG_STR_CHARLEN
 #define STR_UTF8       LIBNDR_FLAG_STR_UTF8
 
 /*
@@ -14,29 +8,6 @@
 */
 #define nstring                [flag(STR_NULLTERM)] string
 
-/*
-  an ascii string prefixed with [offset] [length], both 32 bits
-  null terminated
-*/
-#define ascstr2                [flag(STR_ASCII|STR_LEN4)] string
-
-/*
-  an ascii string prefixed with [size], 32 bits
-*/
-#define asclstr                [flag(STR_ASCII|STR_SIZE4)] string
-
-/*
-  an ascii string prefixed with [size], 16 bits
-  null terminated
-*/
-#define ascstr3                [flag(STR_ASCII|STR_SIZE2)] string
-
-/*
-  an ascii string prefixed with [size] [offset] [length], all 32 bits
-  not null terminated
-*/
-#define ascstr_noterm  [flag(STR_NOTERM|STR_ASCII|STR_SIZE4|STR_LEN4)] string
-
 /*
   a null terminated ascii string
 */