diff options
author | Max Kellermann <max@duempel.org> | 2013-01-03 02:31:47 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-03 02:31:47 +0100 |
commit | 9e99e5bef90a54d8c183b766227b1676fcf9cb83 (patch) | |
tree | 7704ac6495822f17f2d64fea0453169d735c5110 /src/strset.h | |
parent | 9023ba4a81d597c8694432655833cf23d83c6cde (diff) | |
download | mpd-9e99e5bef90a54d8c183b766227b1676fcf9cb83.tar.gz mpd-9e99e5bef90a54d8c183b766227b1676fcf9cb83.tar.xz mpd-9e99e5bef90a54d8c183b766227b1676fcf9cb83.zip |
strset: delete obsolete library
Diffstat (limited to 'src/strset.h')
-rw-r--r-- | src/strset.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/strset.h b/src/strset.h deleted file mode 100644 index 6965a5823..000000000 --- a/src/strset.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) 2003-2011 The Music Player Daemon Project - * http://www.musicpd.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -/** - * "struct strset" is a hashed string set: you can add strings to this - * library, and it stores them as a set of unique strings. You can - * get the size of the set, and you can enumerate through all values. - * - * It is important to note that the strset does not copy the string - * values - it stores the exact pointers it was given in strset_add(). - */ - -#ifndef MPD_STRSET_H -#define MPD_STRSET_H - -#include "gcc.h" - -struct strset; - -gcc_malloc -struct strset * -strset_new(void); - -void strset_free(struct strset *set); - -void strset_add(struct strset *set, const char *value); - -int strset_get(const struct strset *set, const char *value); - -unsigned strset_size(const struct strset *set); - -void strset_rewind(struct strset *set); - -const char *strset_next(struct strset *set); - -#endif |