- Timestamp:
- 2015-05-14T16:08:06Z (10 years ago)
- Children:
- 600e09c
- Parents:
- 4225bec
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
r4225bec r578e5b0 427 427 } 428 428 429 int is_bool(c har *value)429 int is_bool(const char *value) 430 430 { 431 431 if (*value == 0) { … … 453 453 } 454 454 455 int bool2int(c har *value)455 int bool2int(const char *value) 456 456 { 457 457 int i; -
lib/misc.h
r4225bec r578e5b0 137 137 G_MODULE_EXPORT void random_bytes(unsigned char *buf, int count); 138 138 139 G_MODULE_EXPORT int is_bool(c har *value);140 G_MODULE_EXPORT int bool2int(c har *value);139 G_MODULE_EXPORT int is_bool(const char *value); 140 G_MODULE_EXPORT int bool2int(const char *value); 141 141 142 142 G_MODULE_EXPORT struct ns_srv_reply **srv_lookup(char *service, char *protocol, char *domain);
Note: See TracChangeset
for help on using the changeset viewer.