path/path.c: Implemented SplitN.
Renamed Segments() to SplitN(), added parameters, and created a new Segments() using SplitN() while maintaining the original functionality.
This commit is contained in:
parent
0f5964ad3c
commit
ac4cc8feaa
2 changed files with 39 additions and 14 deletions
|
@ -21,6 +21,7 @@
|
|||
} PathErrs;
|
||||
|
||||
char* PathFromCid (struct Cid *c);
|
||||
char** SplitN (char *p, char *delim, int n);
|
||||
char** Segments (char *p);
|
||||
int SegmentsLength (char **s);
|
||||
void FreeSegments (char ***s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue