svn commit: lorikeet r319 - in trunk/heimdal/lib/hdb: .
abartlet at samba.org
abartlet at samba.org
Thu Jun 2 07:27:09 GMT 2005
Author: abartlet
Date: 2005-06-02 07:27:08 +0000 (Thu, 02 Jun 2005)
New Revision: 319
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=319
Log:
Add const (not yet finished).
Andrew Bartlett
Modified:
trunk/heimdal/lib/hdb/hdb-ldap.c
trunk/heimdal/lib/hdb/hdb.h
Changeset:
Modified: trunk/heimdal/lib/hdb/hdb-ldap.c
===================================================================
--- trunk/heimdal/lib/hdb/hdb-ldap.c 2005-06-01 23:00:33 UTC (rev 318)
+++ trunk/heimdal/lib/hdb/hdb-ldap.c 2005-06-02 07:27:08 UTC (rev 319)
@@ -832,7 +832,7 @@
static krb5_error_code
LDAP_principal2message(krb5_context context, HDB * db,
- krb5_principal princ, LDAPMessage ** msg)
+ krb5_const_principal princ, LDAPMessage ** msg)
{
char *name, *name_short = NULL;
krb5_error_code ret;
@@ -1470,7 +1470,7 @@
static krb5_error_code
LDAP_fetch(krb5_context context, HDB * db, unsigned flags,
- krb5_principal principal,
+ krb5_const_principal principal,
enum hdb_ent_type ent_type,
hdb_entry * entry)
{
Modified: trunk/heimdal/lib/hdb/hdb.h
===================================================================
--- trunk/heimdal/lib/hdb/hdb.h 2005-06-01 23:00:33 UTC (rev 318)
+++ trunk/heimdal/lib/hdb/hdb.h 2005-06-02 07:27:08 UTC (rev 319)
@@ -63,7 +63,7 @@
krb5_error_code (*hdb_open)(krb5_context, struct HDB*, int, mode_t);
krb5_error_code (*hdb_close)(krb5_context, struct HDB*);
- krb5_error_code (*hdb_fetch)(krb5_context,struct HDB*,unsigned hdb_flags, krb5_principal principal,
+ krb5_error_code (*hdb_fetch)(krb5_context,struct HDB*,unsigned hdb_flags, krb5_const_principal principal,
enum hdb_ent_type ent_type, hdb_entry*);
krb5_error_code (*hdb_store)(krb5_context,struct HDB*,unsigned,hdb_entry*);
krb5_error_code (*hdb_remove)(krb5_context, struct HDB*, hdb_entry*);
More information about the samba-cvs
mailing list