pulsar-client-cpp
Loading...
Searching...
No Matches
string_list.h
1
20#pragma once
21
22#include <pulsar/defines.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28typedef struct _pulsar_string_list pulsar_string_list_t;
29
30PULSAR_PUBLIC pulsar_string_list_t *pulsar_string_list_create();
31PULSAR_PUBLIC void pulsar_string_list_free(pulsar_string_list_t *list);
32
33PULSAR_PUBLIC int pulsar_string_list_size(pulsar_string_list_t *list);
34
35PULSAR_PUBLIC void pulsar_string_list_append(pulsar_string_list_t *list, const char *item);
36
37PULSAR_PUBLIC const char *pulsar_string_list_get(pulsar_string_list_t *map, int index);
38
39#ifdef __cplusplus
40}
41#endif