Ignore:
Timestamp:
Sep 30, 2006 11:39:17 AM (18 years ago)
Author:
bennylp
Message:

Added initial implementation of low-level DNS packetization
and parsing functions in PJLIB-UTIL/dns.h. Errors codes
added for DNS formatting related errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/errno.c

    r534 r745  
    4848    /* XML errors */ 
    4949    PJ_BUILD_ERR( PJLIB_UTIL_EINXML,            "Invalid XML message" ), 
     50 
     51    /* DNS errors */ 
     52    PJ_BUILD_ERR( PJLIB_UTIL_EDNSQRYTOOSMALL,   "Outgoing DNS query packet buffer is too small"), 
     53    PJ_BUILD_ERR( PJLIB_UTIL_EDNSINSIZE,        "Invalid packet length in DNS response"), 
     54    PJ_BUILD_ERR( PJLIB_UTIL_EDNSINCLASS,       "Invalid class in DNS response"), 
     55    PJ_BUILD_ERR( PJLIB_UTIL_EDNSINNAMEPTR,     "Invalid name pointer in DNS response"), 
    5056}; 
    5157#endif  /* PJ_HAS_ERROR_STRING */ 
Note: See TracChangeset for help on using the changeset viewer.