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

Diff for /src/usr.bin/snmp/smi.h between version 1.2 and 1.3

version 1.2, 2020/05/19 13:41:01 version 1.3, 2020/08/03 14:45:54
Line 59 
Line 59 
 #define o_oid                    o_id.bo_id  #define o_oid                    o_id.bo_id
 #define o_oidlen                 o_id.bo_n  #define o_oidlen                 o_id.bo_n
   
         char                    *o_name;          const char              *o_name;
           const char              *o_tcname;
           struct textconv         *o_textconv;
   
         RB_ENTRY(oid)            o_element;          RB_ENTRY(oid)            o_element;
         RB_ENTRY(oid)            o_keyword;          RB_ENTRY(oid)            o_keyword;
 };  };
   
   struct textconv {
           const char              *tc_name;
           const char              *tc_display_hint;
           unsigned int             tc_syntax;
           RB_ENTRY(textconv)       tc_entry;
   };
   
 int smi_init(void);  int smi_init(void);
 unsigned int smi_application(struct ber_element *);  unsigned int smi_application(struct ber_element *);
 int smi_string2oid(const char *, struct ber_oid *);  int smi_string2oid(const char *, struct ber_oid *);
 char *smi_oid2string(struct ber_oid *, char *, size_t, enum smi_oid_lookup);  char *smi_oid2string(struct ber_oid *, char *, size_t, enum smi_oid_lookup);
 void smi_mibtree(struct oid *);  void smi_mibtree(struct oid *);
   void smi_textconvtree(struct textconv *);
 struct oid *smi_foreach(struct oid *);  struct oid *smi_foreach(struct oid *);
 void smi_debug_elements(struct ber_element *);  void smi_debug_elements(struct ber_element *, int);
 char *smi_print_element(struct ber_element *, int, enum smi_output_string,  char *smi_print_element(struct ber_oid *, struct ber_element *, int,
     enum smi_oid_lookup);      enum smi_output_string, enum smi_oid_lookup, int);

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