Files
libguestfs/bindtests
Richard Jones bda6cf75f2 generator: Implement BufferIn parameter type (RHBZ#501889).
The BufferIn argument turns into various things:

 in C      const char *, size_t parameter pair

 in XDR    an opaque<> type (instead of string) which allows \0 chars

 in other bindings
           mostly just a string, since most languages except for C
           permit strings to contain any 8 bit data
2010-05-20 10:30:12 +01:00

119 lines
785 B
Plaintext

abc
def
[]
false
0
0
123
456
<61><62><63><00><61><62><63>
abc
null
[]
false
0
0
123
456
<61><62><63><00><61><62><63>
def
[]
false
0
0
123
456
<61><62><63><00><61><62><63>
[]
false
0
0
123
456
<61><62><63><00><61><62><63>
abc
def
["1"]
false
0
0
123
456
<61><62><63><00><61><62><63>
abc
def
["1", "2"]
false
0
0
123
456
<61><62><63><00><61><62><63>
abc
def
["1"]
true
0
0
123
456
<61><62><63><00><61><62><63>
abc
def
["1"]
false
-1
-1
123
456
<61><62><63><00><61><62><63>
abc
def
["1"]
false
-2
-2
123
456
<61><62><63><00><61><62><63>
abc
def
["1"]
false
1
1
123
456
<61><62><63><00><61><62><63>
abc
def
["1"]
false
2
2
123
456
<61><62><63><00><61><62><63>
abc
def
["1"]
false
4095
4095
123
456
<61><62><63><00><61><62><63>
abc
def
["1"]
false
0
0
<61><62><63><00><61><62><63>
EOF