[BACK]Return to getinfo.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cap_mkdb

Diff for /src/usr.bin/cap_mkdb/Attic/getinfo.c between version 1.7 and 1.8

version 1.7, 2003/06/10 22:20:45 version 1.8, 2006/02/20 09:23:26
Line 62 
Line 62 
 int     igetnext(char **, char **);  int     igetnext(char **, char **);
   
 /*  /*
  * Cgetcap searches the capability record buf for the capability cap with   * Igetcap searches the capability record buf for the capability cap with
  * type `type'.  A pointer to the value of cap is returned on success, NULL   * type `type'.  A pointer to the value of cap is returned on success, NULL
  * if the requested capability couldn't be found.   * if the requested capability couldn't be found.
  *   *
Line 455 
Line 455 
 }  }
   
 /*  /*
  * Cgetmatch will return 0 if name is one of the names of the capability   * Igetmatch will return 0 if name is one of the names of the capability
  * record buf, -1 if not.   * record buf, -1 if not.
  */   */
 static int  static int
Line 513 
Line 513 
 }  }
   
 /*  /*
  * Cgetnext() gets either the first or next entry in the logical database   * Igetnext() gets either the first or next entry in the logical database
  * specified by db_array.  It returns 0 upon completion of the database, 1   * specified by db_array.  It returns 0 upon completion of the database, 1
  * upon returning an entry with more remaining, and -1 if an error occurs.   * upon returning an entry with more remaining, and -1 if an error occurs.
  */   */

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8