more-prototyping-20030513
[openafs.git] / src / auth / cellconfig.c
index 2a302a0..d362919 100644 (file)
@@ -583,7 +583,8 @@ static int ParseCellLine(register char *aline, register char *aname,
 }
 
 /* call aproc(entry, arock, adir) for all cells.  Proc must return 0, or we'll stop early and return the code it returns */
-int afsconf_CellApply(struct afsconf_dir *adir, int (*aproc)(), char *arock)
+int afsconf_CellApply(struct afsconf_dir *adir, int (*aproc)(struct afsconf_cell *cell, 
+        char *arock, struct afsconf_dir *dir), char *arock)
 {
     register struct afsconf_entry *tde;
     register afs_int32 code;
@@ -602,7 +603,8 @@ int afsconf_CellApply(struct afsconf_dir *adir, int (*aproc)(), char *arock)
 /* call aproc(entry, arock, adir) for all cell aliases.
  * Proc must return 0, or we'll stop early and return the code it returns
  */
-int afsconf_CellAliasApply(struct afsconf_dir *adir, int (*aproc)(), char *arock)
+int afsconf_CellAliasApply(struct afsconf_dir *adir, int (*aproc)(
+       struct afsconf_cellalias *alias, char *arock, struct afsconf_dir *dir), char *arock)
 {
     register struct afsconf_aliasentry *tde;
     register afs_int32 code;