| 1 | #cxx . . $ `<file>/include/str_array.h`/ifndef LIBNFTNL_STR_ARRAY_H |
| 2 | #define LIBNFTNL_STR_ARRAY_Hcxx . . $ `include/str_array.h:2:9`! 1 |
| 3 | |
| 4 | #include <stdint.h> |
| 5 | |
| 6 | struct nlattrcxx . . $ nlattr#; |
| 7 | |
| 8 | struct nftnl_str_arraycxx . . $ nftnl_str_array# { |
| 9 | char **arraycxx . . $ nftnl_str_array#array.; |
| 10 | uint32_tcxx . . $ uint32_t# lencxx . . $ nftnl_str_array#len.; |
| 11 | }; |
| 12 | |
| 13 | void nftnl_str_array_clearcxx . . $ nftnl_str_array_clear(da9ec48ca4ecf134).(struct nftnl_str_arraycxx . . $ nftnl_str_array# *sa); |
| 14 | int nftnl_str_array_setcxx . . $ nftnl_str_array_set(c729e707ba698544).(struct nftnl_str_arraycxx . . $ nftnl_str_array# *sa, const char * const *array); |
| 15 | int nftnl_parse_devscxx . . $ nftnl_parse_devs(2b1f6624489517c0).(struct nftnl_str_arraycxx . . $ nftnl_str_array# *sa, const struct nlattrcxx . . $ nlattr# *nest); |
| 16 | |
| 17 | #define nftnl_str_array_foreachcxx . . $ `include/str_array.h:17:9`!(ptr, sa, idx) \ |
| 18 | for (idx = 0, ptr = (sa)->array[idx]; \ |
| 19 | idx < (sa)->len; \ |
| 20 | ptr = (sa)->array[++idx]) |
| 21 | |
| 22 | #endif /* LIBNFTNL_STR_ARRAY_H */ |