Make the set type separate from the set-element (linked list node) type
authorKen Raeburn <raeburn@mit.edu>
Sun, 14 Mar 2004 06:47:13 +0000 (06:47 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 14 Mar 2004 06:47:13 +0000 (06:47 +0000)
commitbd213527dab6a355867a95c104352fa101a9d2e8
treebaf908411bd62c2a8c8bda0edabb3e95ad723772
parent71439f3a47350f331c67b52bfb7dae2d4fb6f79b
Make the set type separate from the set-element (linked list node) type

* generic/gssapiP_generic.h (g_set): New struct type.
(G_SET_INIT): New macro.
* generic/util_validate.c (g_save, g_validate, g_delete): Change first argument
to take a g_set * rather than void **; use the address of the void pointer from
the structure.
(g_save_name, g_save_cred_id, g_save_ctx_id, g_validate_name,
g_validate_cred_id, g_validate_ctx_id, g_delete_name, g_delete_cred_id,
g_delete_ctx_id): Updated first argument type.
* genericgssapiP_generic.h: Declarations updated.

* krb5/gssapi_krb5.c (kg_vdb): Change type to g_set and initialize.
* krb5/gssapiP_krb5.h (kg_vdb): Declaration updated.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16166 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/generic/ChangeLog
src/lib/gssapi/generic/gssapiP_generic.h
src/lib/gssapi/generic/util_validate.c
src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/gssapiP_krb5.h
src/lib/gssapi/krb5/gssapi_krb5.c