(profile_node_iterator_create): Argument "names" now points to const.
(profile_node_iterator): Local variable "cpp" now points to const.
* prof_int.h (profile_node_iterator_create): Decl updated.
* prof_get.c (profile_get_values): Argument "names" now points to const.
* profile.hin (profile_get_values): Decl updated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13615
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-07-19 Ken Raeburn <raeburn@mit.edu>
+
+ * prof_tree.c (struct profile_iterator): Member "names" now points
+ to const.
+ (profile_node_iterator_create): Argument "names" now points to
+ const.
+ (profile_node_iterator): Local variable "cpp" now points to
+ const.
+ * prof_int.h (profile_node_iterator_create): Decl updated.
+ * prof_get.c (profile_get_values): Argument "names" now points to
+ const.
+ * profile.hin (profile_get_values): Decl updated.
+
2001-07-02 Ezra Peisach <epeisach@mit.edu>
* prof_int.h: Provide prototypes for profile_ser_size,
KRB5_DLLIMP errcode_t KRB5_CALLCONV
profile_get_values(profile, names, ret_values)
profile_t profile;
- const char **names;
+ const char *const *names;
char ***ret_values;
{
errcode_t retval;
char **ret_name));
errcode_t profile_node_iterator_create
- PROTOTYPE((profile_t profile, const char **names,
+ PROTOTYPE((profile_t profile, const char *const *names,
int flags, void **ret_iter));
void profile_node_iterator_free
prf_magic_t magic;
profile_t profile;
int flags;
- const char **names;
+ const char *const *names;
const char *name;
prf_file_t file;
int file_serial;
errcode_t profile_node_iterator_create(profile, names, flags, ret_iter)
profile_t profile;
- const char **names;
+ const char *const *names;
int flags;
void **ret_iter;
{
{
struct profile_iterator *iter = *iter_p;
struct profile_node *section, *p;
- const char **cpp;
+ const char *const *cpp;
errcode_t retval;
int skip_num = 0;
PROTOTYPE ((profile_t profile));
KRB5_DLLIMP long KRB5_CALLCONV profile_get_values
- PROTOTYPE ((profile_t profile, const char **names, char ***ret_values));
+ PROTOTYPE ((profile_t profile, const char *const *names, char ***ret_values));
KRB5_DLLIMP void KRB5_CALLCONV profile_free_list
PROTOTYPE ((char **list));