* prof_get.c:
. Added #include <limits.h> for definitions of INT_MAX, etc.
. Changed 'ret_int' to 'ret_boolean' in prof_get_boolean
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12147
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-04-03 Jeffrey Altman <jaltman@columbia.edu>
+
+ * prof_get.c:
+ . Added #include <limits.h> for definitions of INT_MAX, etc.
+ . Changed 'ret_int' to 'ret_boolean' in prof_get_boolean
+
2000-03-24 Miro Jurisic <meeroh@mit.edu>
* prof_get.c: Added prof_get_boolean and changed prof_get_integer
#include <stdlib.h>
#endif
#include <errno.h>
-
+#include <limits.h>
#include "prof_int.h"
/*
const char *value;
errcode_t retval;
const char *names[4];
- const char *end_value;
+ char *end_value;
long ret_long;
if (profile == 0) {
profile_t profile;
const char *name, *subname, *subsubname;
int def_val;
- int *ret_int;
+ int *ret_boolean;
{
const char *value;
errcode_t retval;
const char *names[4];
if (profile == 0) {
- *ret_int = def_val;
+ *ret_boolean = def_val;
return 0;
}
names[3] = 0;
retval = profile_get_value(profile, names, &value);
if (retval == PROF_NO_SECTION || retval == PROF_NO_RELATION) {
- *ret_int = def_val;
+ *ret_boolean = def_val;
return 0;
} else if (retval)
return retval;
- return prof_parse_boolean (value, ret_int);
+ return prof_parse_boolean (value, ret_boolean);
}
/*