Changeset eb522e8 in mainline for uspace/lib/c/include/adt/measured_strings.h
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/adt/measured_strings.h
r9e2e715 reb522e8 47 47 typedef struct measured_string measured_string_t; 48 48 49 /** Type definition of the character string with measured length pointer.50 * @see measured_string51 */52 typedef measured_string_t *measured_string_ref;53 54 49 /** Character string with measured length. 55 50 * … … 59 54 struct measured_string { 60 55 /** Character string data. */ 61 char*value;56 uint8_t *value; 62 57 /** Character string length. */ 63 58 size_t length; 64 59 }; 65 60 66 extern measured_string_ref measured_string_create_bulk(const char *, size_t); 67 extern measured_string_ref measured_string_copy(measured_string_ref); 68 extern int measured_strings_receive(measured_string_ref *, char **, size_t); 69 extern int measured_strings_reply(const measured_string_ref, size_t); 70 extern int measured_strings_return(int, measured_string_ref *, char **, size_t); 71 extern int measured_strings_send(int, const measured_string_ref, size_t); 61 extern measured_string_t *measured_string_create_bulk(const uint8_t *, size_t); 62 extern measured_string_t *measured_string_copy(measured_string_t *); 63 64 extern int measured_strings_receive(measured_string_t **, uint8_t **, size_t); 65 extern int measured_strings_reply(const measured_string_t *, size_t); 66 extern int measured_strings_return(int, measured_string_t **, uint8_t **, size_t); 67 extern int measured_strings_send(int, const measured_string_t *, size_t); 72 68 73 69 #endif
Note:
See TracChangeset
for help on using the changeset viewer.