c-ipfs/include/ipfs/util/string_tokenizer.h
2017-03-21 12:58:39 -05:00

10 lines
299 B
C

#pragma once
/**
* A replacement strtok_r so we can compile with c99
* @param str the original string
* @param delim the delimiters
* @param nextp used internally to save state
* @returns a pointer to the next element
*/
char* ipfs_utils_strtok_r(char *str, const char *delim, char **nextp);