diff options
author | David Shaw <[email protected]> | 2002-06-14 19:34:30 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-06-14 19:34:30 +0000 |
commit | 0686d7c10c7b198d59e01f8770e54ee314d6cfdf (patch) | |
tree | 1b2df910079927d2370a0daa350c0de2b61ff509 | |
parent | * strgutil.c (pop_strlist): New function to pop the head off of a strlist. (diff) | |
download | gnupg-0686d7c10c7b198d59e01f8770e54ee314d6cfdf.tar.gz gnupg-0686d7c10c7b198d59e01f8770e54ee314d6cfdf.zip |
* util.h: Add pop_strlist() from strgutil.c.
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/util.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index e401a6550..8ea0354fb 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2002-06-14 David Shaw <[email protected]> + + * util.h: Add pop_strlist() from strgutil.c. + 2002-06-07 Stefan Bellon <[email protected]> * util.h [__riscos__]: RISC OS needs strings.h for strcasecmp() diff --git a/include/util.h b/include/util.h index 1cb76c911..42af78166 100644 --- a/include/util.h +++ b/include/util.h @@ -181,6 +181,7 @@ STRLIST append_to_strlist( STRLIST *list, const char *string ); STRLIST append_to_strlist2( STRLIST *list, const char *string, int is_utf8 ); STRLIST strlist_prev( STRLIST head, STRLIST node ); STRLIST strlist_last( STRLIST node ); +char *pop_strlist( STRLIST *list ); const char *memistr( const char *buf, size_t buflen, const char *sub ); const char *ascii_memistr( const char *buf, size_t buflen, const char *sub ); char *mem2str( char *, const void *, size_t); |