Distributed File System 1
Distributed file system in C
Loading...
Searching...
No Matches
list_str.h
Go to the documentation of this file.
1/* lib/list_str.h
2 *
3 * Simple String List implementation
4 *
5 */
6#ifndef LIST_STR_H_
7#define LIST_STR_H_
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/* ----- Includes ----- */
14
15#include "lib.h"
16#include "list.h"
17
18/* ----- Functions ----- */
19
21
22
28ListStr split(Str str, char sep);
29
33void ListStr_print(ListStr list);
34
36
42
49ListSafeStr ListSafeStr_deserialize(Buffer buf);
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif // LIST_STR_H_
const char * Str
String type.
Definition lib.h:73
#define DefList(type)
Definition list.h:93
Buffer ListSafeStr_serialize(ListSafeStr list)
Definition list_str.c:44
ListSafeStr ListSafeStr_deserialize(Buffer buf)
Deserialize a SafeStr from a Buffer.
Definition list_str.c:52
void ListStr_print(ListStr list)
Print a List of Strings.
Definition list_str.c:35
char sep
Definition list_str.h:28
void list(Enchufe cliente)
Definition meta-data.c:14
Byte buffer.
Definition lib.h:92
Safe String type.
Definition lib.h:76