gusimplewhiteboard
|
#include <gu_util.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | wb_frequency_limits |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
Macros | |
#define | _XOPEN_SOURCE 700 |
#define | FREQUENCY_LIMITS_GENERATED |
#define | FREQUENCY_LIMITS_C_STRUCT wb_frequency_limits |
#define | FREQUENCY_LIMITS_NUMBER_OF_VARIABLES 2 |
#define | FREQUENCY_LIMITS_DESC_BUFFER_SIZE 31 |
#define | FREQUENCY_LIMITS_TO_STRING_BUFFER_SIZE 15 |
Functions | |
const char * | wb_frequency_limits_description (const struct wb_frequency_limits *self, char *descString, size_t bufferSize) |
Convert to a description string. More... | |
const char * | wb_frequency_limits_to_string (const struct wb_frequency_limits *self, char *toString, size_t bufferSize) |
Convert to a string. More... | |
struct wb_frequency_limits * | wb_frequency_limits_from_string (struct wb_frequency_limits *self, const char *str) |
Convert from a string. More... | |
size_t | wb_frequency_limits_to_network_serialised (const struct wb_frequency_limits *self, char *dst) |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
size_t | wb_frequency_limits_from_network_serialised (const char *src, struct wb_frequency_limits *dst) |
Network stream deserialisation. More... | |
#define _XOPEN_SOURCE 700 |
Definition at line 72 of file wb_frequency_limits.h.
#define FREQUENCY_LIMITS_C_STRUCT wb_frequency_limits |
Definition at line 91 of file wb_frequency_limits.h.
#define FREQUENCY_LIMITS_DESC_BUFFER_SIZE 31 |
Definition at line 95 of file wb_frequency_limits.h.
#define FREQUENCY_LIMITS_GENERATED |
Definition at line 90 of file wb_frequency_limits.h.
#define FREQUENCY_LIMITS_NUMBER_OF_VARIABLES 2 |
Definition at line 92 of file wb_frequency_limits.h.
#define FREQUENCY_LIMITS_TO_STRING_BUFFER_SIZE 15 |
Definition at line 96 of file wb_frequency_limits.h.
const char * wb_frequency_limits_description | ( | const struct wb_frequency_limits * | self, |
char * | descString, | ||
size_t | bufferSize | ||
) |
Convert to a description string.
Definition at line 125 of file wb_frequency_limits.c.
Referenced by guWhiteboard::FrequencyLimits::description().
size_t wb_frequency_limits_from_network_serialised | ( | const char * | src, |
struct wb_frequency_limits * | dst | ||
) |
Network stream deserialisation.
Network stream deserialisation.
Definition at line 315 of file wb_frequency_limits.c.
References wb_frequency_limits::hi_freq, wb_frequency_limits::lo_freq, and ntohs.
struct wb_frequency_limits * wb_frequency_limits_from_string | ( | struct wb_frequency_limits * | self, |
const char * | str | ||
) |
Convert from a string.
Definition at line 173 of file wb_frequency_limits.c.
References FREQUENCY_LIMITS_DESC_BUFFER_SIZE.
size_t wb_frequency_limits_to_network_serialised | ( | const struct wb_frequency_limits * | self, |
char * | dst | ||
) |
WHITEBOARD_POSTER_STRING_CONVERSION.
Network stream serialisation
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 276 of file wb_frequency_limits.c.
References htons.
const char * wb_frequency_limits_to_string | ( | const struct wb_frequency_limits * | self, |
char * | toString, | ||
size_t | bufferSize | ||
) |
Convert to a string.
Definition at line 149 of file wb_frequency_limits.c.
Referenced by guWhiteboard::FrequencyLimits::to_string().