Mercurial > libedl
annotate include/util.h @ 14:2d7c810a1ac2 default tip
*: misc. cleanup
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Fri, 03 May 2024 22:40:28 -0400 |
parents | 41b74137e201 |
children |
rev | line source |
---|---|
13
41b74137e201
include: make header guards sane
Paper <paper@paper.us.eu.org>
parents:
8
diff
changeset
|
1 #ifndef EDL_INTERNAL_UTIL_H_ |
41b74137e201
include: make header guards sane
Paper <paper@paper.us.eu.org>
parents:
8
diff
changeset
|
2 #define EDL_INTERNAL_UTIL_H_ |
8
0c98b46eaf73
*: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
3 |
0c98b46eaf73
*: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
4 #include <stddef.h> |
0c98b46eaf73
*: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
5 |
0c98b46eaf73
*: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
6 size_t EDL_internal_strnlen(const char* s, size_t maxlen); |
0c98b46eaf73
*: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
7 char* EDL_internal_strnchr(const char* haystack, char needle, size_t length); |
0c98b46eaf73
*: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
8 char* EDL_internal_strdup(const char* s); |
0c98b46eaf73
*: update API to 2.0, big changes
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
9 |
13
41b74137e201
include: make header guards sane
Paper <paper@paper.us.eu.org>
parents:
8
diff
changeset
|
10 #endif /* EDL_INTERNAL_UTIL_H_ */ |