#include <adt/measured_strings.h>
#include <malloc.h>
#include <mem.h>
#include <unistd.h>
#include <errno.h>
#include <async.h>
Go to the source code of this file.
Functions | |
measured_string_t * | measured_string_copy (measured_string_t *source) |
Copies the given measured string with separated header and data parts. | |
measured_string_t * | measured_string_create_bulk (const uint8_t *string, size_t length) |
Creates a new measured string bundled with a copy of the given string itself as one memory block. | |
int | measured_strings_receive (measured_string_t **strings, uint8_t **data, size_t count) |
Receives a measured strings array from a calling module. | |
int | measured_strings_reply (const measured_string_t *strings, size_t count) |
Replies the given measured strings array to a calling module. | |
int | measured_strings_return (int phone, measured_string_t **strings, uint8_t **data, size_t count) |
Receives a measured strings array from another module. | |
int | measured_strings_send (int phone, const measured_string_t *strings, size_t count) |
Sends the given measured strings array to another module. | |
static size_t * | prepare_lengths (const measured_string_t *strings, size_t count) |
Computes the lengths of the measured strings in the given array. |
Definition in file measured_strings.c.