Home | History | Annotate | Download | only in common

Lines Matching defs:symbol

130  * Structure used to map a configuration-file symbol (such as "ds") to a
135 const char *symbol;
154 * values of the symbol codes (SYM_. . .) are unimportant, but they must
674 msg = "unknown symbol";
698 report(LOG_ERR, "in entry named \"%s\", symbol \"%s\": %s",
717 if (prs_inetaddr(symbol, &value) < 0) \
736 hp->MEMBER = get_addresses(symbol); \
755 hp->MEMBER = get_shared_string(symbol); \
769 value = get_u_long(symbol); \
776 * Evaluate the two-character tag symbol pointed to by "symbol" and place
778 * by "symbol" is updated to point past the source string (but may not
784 eval_symbol(char **symbol, struct host *hp)
795 eat_whitespace(symbol);
798 current_tagname[0] = (*symbol)[0];
799 current_tagname[1] = (*symbol)[1];
802 if ((*symbol)[0] == '\0') {
805 if ((*symbol)[0] == ':') {
808 if ((*symbol)[0] == 'T') { /* generic symbol */
809 (*symbol)++;
810 value = get_u_long(symbol);
813 eat_whitespace(symbol);
814 if ((*symbol)[0] != '=') {
817 (*symbol)++;
822 if (process_generic(symbol, &(hp->generic), (byte) (value & 0xFF)))
828 * Determine the type of operation to be done on this symbol
830 switch ((*symbol)[2]) {
848 if (((symbolptr->symbol)[0] == (*symbol)[0]) &&
849 ((symbolptr->symbol)[1] == (*symbol)[1])) {
860 * over the two-character tag symbol (and nothing else. . . .).
862 (*symbol) += (optype == OP_BOOLEAN) ? 2 : 3;
864 eat_whitespace(symbol);
895 tmphaddr = prs_haddr(symbol, hp->htype);
913 eat_whitespace(symbol);
914 if (isdigit((unsigned char)**symbol)) {
915 value = get_u_long(symbol);
918 (void) get_string(symbol, tmpstr, &len);
973 (void) get_string(symbol, tmpstr, &len);
994 if (strncmp(*symbol, "auto", 4)) {
996 if (!strncmp(*symbol, "rfc", 3)) {
998 } else if (!strncmp(*symbol, "cmu", 3)) {
1001 if (!isdigit((unsigned char)**symbol))
1003 if (prs_inetaddr(symbol, &value) < 0)
1015 fill_defaults(hp, symbol);
1040 if (!strncmp(*symbol, "auto", 4)) {
1044 hp->bootsize = (unsigned int) get_u_long(symbol);
1417 * Process the "similar entry" symbol.
1419 * The host specified as the value of the "tc" symbol is used as a template
1420 * for the current host entry. Symbol values not explicitly set in the
1575 * "symbol" is passed as a pointer to a pointer to something. This is