~helenos-nicf/helenos/nicf

« back to all changes in this revision

Viewing changes to uspace/lib/c/include/adt/measured_strings.h

  • Committer: Radim Vansa
  • Date: 2011-09-20 21:55:59 UTC
  • mfrom: (697.1.517 HelenOS.mainline)
  • Revision ID: radim.vansa@matfyz.cz-20110920215559-7fjpai6wt5ieurcq
Merge with mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#define LIBC_MEASURED_STRINGS_H_
41
41
 
42
42
#include <sys/types.h>
 
43
#include <async.h>
43
44
 
44
45
/** Type definition of the character string with measured length.
45
46
 * @see measured_string
60
61
 
61
62
extern measured_string_t *measured_string_create_bulk(const uint8_t *, size_t);
62
63
extern measured_string_t *measured_string_copy(measured_string_t *);
 
64
 
63
65
extern int measured_strings_receive(measured_string_t **, uint8_t **, size_t);
64
66
extern int measured_strings_reply(const measured_string_t *, size_t);
65
 
extern int measured_strings_return(int, measured_string_t **, uint8_t **, size_t);
66
 
extern int measured_strings_send(int, const measured_string_t *, size_t);
 
67
 
 
68
extern int measured_strings_return(async_exch_t *, measured_string_t **,
 
69
    uint8_t **, size_t);
 
70
extern int measured_strings_send(async_exch_t *, const measured_string_t *,
 
71
    size_t);
67
72
 
68
73
#endif
69
74