Deleted Added
full compact
strtab.h (178529) strtab.h (178546)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 45 unchanged lines hidden (view full) ---

54 size_t str_size; /* total size of strings in bytes */
55} strtab_t;
56
57extern void strtab_create(strtab_t *);
58extern void strtab_destroy(strtab_t *);
59extern size_t strtab_insert(strtab_t *, const char *);
60extern size_t strtab_size(const strtab_t *);
61extern ssize_t strtab_write(const strtab_t *,
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 45 unchanged lines hidden (view full) ---

54 size_t str_size; /* total size of strings in bytes */
55} strtab_t;
56
57extern void strtab_create(strtab_t *);
58extern void strtab_destroy(strtab_t *);
59extern size_t strtab_insert(strtab_t *, const char *);
60extern size_t strtab_size(const strtab_t *);
61extern ssize_t strtab_write(const strtab_t *,
62 ssize_t (*)(const void *, size_t, void *), void *);
62 ssize_t (*)(void *, size_t, void *), void *);
63extern void strtab_print(const strtab_t *);
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif /* _STRTAB_H */
63extern void strtab_print(const strtab_t *);
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif /* _STRTAB_H */