gusimplewhiteboard
|
#include <gu_util.h>
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Classes | |
struct | wb_overheating |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
Macros | |
#define | _XOPEN_SOURCE 700 |
#define | OVERHEATING_GENERATED |
#define | OVERHEATING_C_STRUCT wb_overheating |
#define | OVERHEATING_NUMBER_OF_VARIABLES 1 |
#define | OVERHEATING_DESC_BUFFER_SIZE 18 |
#define | OVERHEATING_TO_STRING_BUFFER_SIZE 6 |
Functions | |
const char * | wb_overheating_description (const struct wb_overheating *self, char *descString, size_t bufferSize) |
Convert to a description string. More... | |
const char * | wb_overheating_to_string (const struct wb_overheating *self, char *toString, size_t bufferSize) |
Convert to a string. More... | |
struct wb_overheating * | wb_overheating_from_string (struct wb_overheating *self, const char *str) |
Convert from a string. More... | |
size_t | wb_overheating_to_network_serialised (const struct wb_overheating *self, char *dst) |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
size_t | wb_overheating_from_network_serialised (const char *src, struct wb_overheating *dst) |
Network stream deserialisation. More... | |
#define _XOPEN_SOURCE 700 |
Definition at line 72 of file wb_overheating.h.
#define OVERHEATING_C_STRUCT wb_overheating |
Definition at line 91 of file wb_overheating.h.
#define OVERHEATING_DESC_BUFFER_SIZE 18 |
Definition at line 95 of file wb_overheating.h.
#define OVERHEATING_GENERATED |
Definition at line 90 of file wb_overheating.h.
#define OVERHEATING_NUMBER_OF_VARIABLES 1 |
Definition at line 92 of file wb_overheating.h.
#define OVERHEATING_TO_STRING_BUFFER_SIZE 6 |
Definition at line 96 of file wb_overheating.h.
const char * wb_overheating_description | ( | const struct wb_overheating * | self, |
char * | descString, | ||
size_t | bufferSize | ||
) |
Convert to a description string.
Definition at line 125 of file wb_overheating.c.
Referenced by guWhiteboard::Overheating::description().
size_t wb_overheating_from_network_serialised | ( | const char * | src, |
struct wb_overheating * | dst | ||
) |
Network stream deserialisation.
Network stream deserialisation.
Definition at line 272 of file wb_overheating.c.
References wb_overheating::overheating.
struct wb_overheating * wb_overheating_from_string | ( | struct wb_overheating * | self, |
const char * | str | ||
) |
Convert from a string.
Definition at line 157 of file wb_overheating.c.
References OVERHEATING_DESC_BUFFER_SIZE.
size_t wb_overheating_to_network_serialised | ( | const struct wb_overheating * | self, |
char * | dst | ||
) |
WHITEBOARD_POSTER_STRING_CONVERSION.
Network stream serialisation
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 253 of file wb_overheating.c.
const char * wb_overheating_to_string | ( | const struct wb_overheating * | self, |
char * | toString, | ||
size_t | bufferSize | ||
) |
Convert to a string.
Definition at line 141 of file wb_overheating.c.
Referenced by guWhiteboard::Overheating::to_string().