#include <errno.h>
#endif
-
/*
* This is one element of an object identifier with either an integer subidentifier,
* or a textual string label, or both.
struct tok *next; /* pointer to next in hash table */
};
-
struct tok tokens[] = {
{"obsolete", sizeof("obsolete") - 1, OBSOLETE},
{"Opaque", sizeof("Opaque") - 1, SNMP_OPAQUE},
}
}
-
static void
print_error(const char *string, const char *token, int type)
{
return tp;
}
-
/*
* Parses a token from the file. The type of the token parsed is returned,
* and the text is placed in the string pointed to by token.
}
return count;
-
}
static void
return np;
}
-
/*
* Parses a mib file and returns a linked list of nodes found in the file.
* Returns NULL on error.