]>
Commit | Line | Data |
---|---|---|
9e246ac3 | 1 | /* |
492b1d2e CD |
2 | * This file is part of the ZFS Event Daemon (ZED) |
3 | * for ZFS on Linux (ZoL) <http://zfsonlinux.org/>. | |
9e246ac3 CD |
4 | * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049). |
5 | * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC. | |
492b1d2e CD |
6 | * Refer to the ZoL git commit log for authoritative copyright attribution. |
7 | * | |
8 | * The contents of this file are subject to the terms of the | |
9 | * Common Development and Distribution License Version 1.0 (CDDL-1.0). | |
10 | * You can obtain a copy of the license from the top-level file | |
11 | * "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>. | |
12 | * You may not use this file except in compliance with the license. | |
9e246ac3 CD |
13 | */ |
14 | ||
15 | #ifndef ZED_STRINGS_H | |
16 | #define ZED_STRINGS_H | |
17 | ||
18 | typedef struct zed_strings zed_strings_t; | |
19 | ||
02730c33 | 20 | zed_strings_t *zed_strings_create(void); |
9e246ac3 | 21 | void zed_strings_destroy(zed_strings_t *zsp); |
854f30a9 | 22 | int zed_strings_add(zed_strings_t *zsp, const char *key, const char *s); |
02730c33 BB |
23 | const char *zed_strings_first(zed_strings_t *zsp); |
24 | const char *zed_strings_next(zed_strings_t *zsp); | |
9e246ac3 CD |
25 | int zed_strings_count(zed_strings_t *zsp); |
26 | ||
27 | #endif /* !ZED_STRINGS_H */ |