Overview
| Comment: | Removed attempts to set lc_errno to NONE |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
8e434a0cbf863a310c614d99070856ca |
| User & Date: | rkeene on 2006-12-17 03:48:05.000 |
| Other Links: | manifest | tags |
Context
|
2006-12-17
| ||
| 15:30 | Updated documentation to reflect addition of addr and hostname var types Updated addr and hostname types to be in network byte order check-in: 495af83ca7 user: rkeene tags: trunk | |
| 03:48 | Removed attempts to set lc_errno to NONE check-in: 8e434a0cbf user: rkeene tags: trunk | |
| 03:35 | Added working addr and ipv4 conversion functions check-in: 525f68fcf8 user: rkeene tags: trunk | |
Changes
Modified libconfig.c
from [ccb1bb4c78]
to [b750f5ace4].
| ︙ | |||
434 435 436 437 438 439 440 | 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 | - - - + |
} else {
localvar = NULL;
}
switch (handler->mode) {
case LC_MODE_CALLBACK:
if (handler->callback != NULL) {
|
| ︙ | |||
808 809 810 811 812 813 814 | 806 807 808 809 810 811 812 813 814 815 816 817 818 819 | - - - |
}
int lc_process_var(const char *var, const char *varargs, const char *value, lc_flags_t flags) {
struct lc_varhandler_st *handler = NULL;
const char *lastcomponent_handler = NULL, *lastcomponent_var = NULL;
|
| ︙ | |||
860 861 862 863 864 865 866 | 855 856 857 858 859 860 861 862 863 864 865 866 867 868 | - - - |
return(-1);
}
int lc_register_callback(const char *var, char opt, lc_var_type_t type, int (*callback)(const char *, const char *, const char *, const char *, lc_flags_t, void *), void *extra) {
struct lc_varhandler_st *newhandler = NULL;
|
| ︙ | |||
889 890 891 892 893 894 895 | 881 882 883 884 885 886 887 888 889 890 891 892 893 894 | - - - |
return(0);
}
int lc_register_var(const char *var, lc_var_type_t type, void *data, char opt) {
struct lc_varhandler_st *newhandler = NULL;
|
| ︙ | |||
918 919 920 921 922 923 924 | 907 908 909 910 911 912 913 914 915 916 917 918 919 920 | - - - |
return(0);
}
int lc_process_file(const char *appname, const char *pathname, lc_conf_type_t type) {
int chkretval = 0;
|
| ︙ | |||
1018 1019 1020 1021 1022 1023 1024 | 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 | - - - |
return(retval);
}
void lc_cleanup(void) {
struct lc_varhandler_st *handler = NULL, *next = NULL;
|
| ︙ |