[BACK]Return to doas.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / doas

Diff for /src/usr.bin/doas/doas.h between version 1.7 and 1.8

version 1.7, 2016/06/16 17:40:30 version 1.8, 2016/06/19 19:29:43
Line 1 
Line 1 
 /* $OpenBSD$ */  /* $OpenBSD$ */
   
 #include <sys/tree.h>  
   
 struct envnode {  
         RB_ENTRY(envnode) node;  
         const char *key;  
         const char *value;  
 };  
   
 struct env {  
         RB_HEAD(envtree, envnode) root;  
         u_int count;  
 };  
   
 RB_PROTOTYPE(envtree, envnode, node, envcmp)  
   
 struct rule {  struct rule {
         int action;          int action;
         int options;          int options;
Line 31 
Line 15 
   
 size_t arraylen(const char **);  size_t arraylen(const char **);
   
 struct env *createenv(char **);  char **prepenv(struct rule *);
 struct env *filterenv(struct env *, struct rule *);  
 char **flattenenv(struct env *);  
   
 #define PERMIT  1  #define PERMIT  1
 #define DENY    2  #define DENY    2

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