diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-03-01 16:41:57 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-03-01 16:41:57 +0100 |
commit | 4903d20c215a01f70c242cb8cf4d455d0e352b7f (patch) | |
tree | 75e0ff6c58546ee4e1d68d3b677c7c75e56fcb68 /lib/util/util.h | |
parent | 9f6e2d64852026d118c717d80236177fd74331eb (diff) | |
parent | 09ac816b36e45fd537af2f7fe7c57a11f5c744f5 (diff) | |
download | samba-4903d20c215a01f70c242cb8cf4d455d0e352b7f.tar.gz samba-4903d20c215a01f70c242cb8cf4d455d0e352b7f.tar.xz samba-4903d20c215a01f70c242cb8cf4d455d0e352b7f.zip |
Merge branch 'master' of git://git.samba.org/samba into convenience
Diffstat (limited to 'lib/util/util.h')
-rw-r--r-- | lib/util/util.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/util/util.h b/lib/util/util.h index 27f94cd685..1f6e3b193b 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -204,6 +204,21 @@ _PUBLIC_ void display_set_stderr(void); /* The following definitions come from lib/util/util_str.c */ +bool next_token_talloc(TALLOC_CTX *ctx, + const char **ptr, + char **pp_buff, + const char *sep); + +/** + * Get the next token from a string, return false if none found. Handles + * double-quotes. This version does not trim leading separator characters + * before looking for a token. + */ +bool next_token_no_ltrim_talloc(TALLOC_CTX *ctx, + const char **ptr, + char **pp_buff, + const char *sep); + /** Trim the specified elements off the front and back of a string. |