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

Diff for /src/usr.bin/tcfs/Attic/tcfsrmkey.c between version 1.1 and 1.2

version 1.1, 2000/06/18 22:07:24 version 1.2, 2000/06/19 20:06:19
Line 10 
Line 10 
  *      Base utility set v0.1   *      Base utility set v0.1
  */   */
   
 #include <stdio.h>  
 #include <sys/types.h>  #include <sys/types.h>
 #include <ctype.h>  
 #include <pwd.h>  
 #include <unistd.h>  
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/mount.h>  #include <sys/mount.h>
   #include <ctype.h>
 #include <des.h>  #include <des.h>
   #include <pwd.h>
   #include <stdio.h>
   #include <stdlib.h>
   #include <string.h>
   #include <unistd.h>
   
 #include <miscfs/tcfs/tcfs.h>  #include <miscfs/tcfs/tcfs.h>
 #include "tcfslib.h"  #include "tcfslib.h"
Line 32 
Line 34 
 int  int
 rmkey_main(int argc, char *argv[])  rmkey_main(int argc, char *argv[])
 {  {
         char *fs;  
         uid_t uid;          uid_t uid;
         gid_t gid;          gid_t gid;
         int es;          int es;
         char x;          char x;
         char fslabel[MAXPATHLEN], fspath[MAXPATHLEN];          char fslabel[MAXPATHLEN], fspath[MAXPATHLEN];
         int havempname = FALSE, havefsname = FALSE, isgroupkey = FALSE;          int havempname = FALSE, havefsname = FALSE, isgroupkey = FALSE;
         int havefs = FALSE;  
         int havename = FALSE, havefspath = FALSE;          int havename = FALSE, havefspath = FALSE;
   
         while ((x = getopt(argc,argv,"f:p:g:")) != EOF) {          while ((x = getopt(argc,argv,"f:p:g:")) != EOF) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2