summaryrefslogtreecommitdiff
path: root/source4/build/pidl/TODO
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-17 16:29:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:23 -0500
commitcd39847e815bea73b6bcae63541dd36b1715aa6c (patch)
tree8d32a9a57ec3b27282f5042a9b570c9d7348d805 /source4/build/pidl/TODO
parent5b19286df08d6cf10654d6e20c323ba44f7d2054 (diff)
downloadsamba-cd39847e815bea73b6bcae63541dd36b1715aa6c.tar.gz
samba-cd39847e815bea73b6bcae63541dd36b1715aa6c.tar.bz2
samba-cd39847e815bea73b6bcae63541dd36b1715aa6c.zip
r7695: Add support for the [string] attribute that works in the traditional sense. Not
used anywhere yet. (This used to be commit a73a35cfc7b5b92cd95bd0d0fbd64d04acecccf3)
Diffstat (limited to 'source4/build/pidl/TODO')
-rw-r--r--source4/build/pidl/TODO30
1 files changed, 1 insertions, 29 deletions
diff --git a/source4/build/pidl/TODO b/source4/build/pidl/TODO
index 4969bf78b4..d51bd83b04 100644
--- a/source4/build/pidl/TODO
+++ b/source4/build/pidl/TODO
@@ -1,38 +1,10 @@
-- Fix string support.
- This would make strings a special kind of arrays flagged by the
- [string] attribute. Pidl itself would support a couple of extra
- attributes for it's own use while being compatible with other IDL
- compilers.
- Proposed extensions for pidl (to arrays):
- [convert(t)] attribute for forcing conversions from CH_UCS2, etc to UTF8
- [noheader] attribute -> Indicating the string is not preceded
-
Implement:
- ndr.pm:
- - represent a string as an array with length set to "STRING"
- - [string] implies is_varying unless noheader is specified.
ndr_parser.pm:
- if [charset()] specified, use instead of the for loops (call ndr_pu{ll,sh}_charset()
- - calculate length using helper function if [string] is specified
-
-The various flags for strings would change as follows:
-
-LIBNDR_FLAG_STR_ASCII -> [convert(CH_ASCII)]
-LIBNDR_FLAG_STR_LEN4 -> [string]
-LIBNDR_FLAG_STR_SIZE4 -> [size_is()] or if needed [conformant]
-LIBNDR_FLAG_STR_NOTERM -> array
-LIBNDR_FLAG_STR_NULLTERM -> [noheader]
-LIBNDR_FLAG_STR_SIZE2 -> uint16 length; [string] char data[length]
-LIBNDR_FLAG_STR_BYTESIZE -> uint16 length; [string] char data[length]
-LIBNDR_FLAG_STR_FIXLEN32 -> [32]
-LIBNDR_FLAG_STR_CONFORMANT -> no longer needed
-LIBNDR_FLAG_STR_CHARLEN -> ???
-LIBNDR_FLAG_STR_UTF8 -> Nothing (but UCS2 has [convert(CH_UCS2)]
-LIBNDR_FLAG_STR_FIXLEN15 -> [15]
- True multiple dimension array / strings in arrays support (closely related to
things specified above)
- compatibility mode for generating MIDL-readable data:
- strip out pidl-specific properties
- - convert subcontext() to an array of chars.
+ - convert subcontext() to an array of uint8.