Rev 3666 | Rev 3846 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3666 | Rev 3685 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | 39 | ||
40 | typedef struct measured_string measured_string_t; |
40 | typedef struct measured_string measured_string_t; |
41 | typedef measured_string_t * measured_string_ref; |
41 | typedef measured_string_t * measured_string_ref; |
42 | 42 | ||
43 | struct measured_string{ |
43 | struct measured_string{ |
44 | size_t length; |
- | |
45 | char * value; |
44 | char * value; |
- | 45 | size_t length; |
|
46 | }; |
46 | }; |
47 | 47 | ||
48 | measured_string_ref measured_string_create_bulk( const char * string, size_t length ); |
48 | measured_string_ref measured_string_create_bulk( const char * string, size_t length ); |
49 | int measured_strings_receive( measured_string_ref * strings, char ** data, size_t count ); |
49 | int measured_strings_receive( measured_string_ref * strings, char ** data, size_t count ); |
50 | int measured_strings_reply( measured_string_ref strings, size_t count ); |
50 | int measured_strings_reply( measured_string_ref strings, size_t count ); |