Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/resolv/res_mkupdate.c
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
#ifdef _LIBC | #ifdef _LIBC | ||||
#include <isc/list.h> | #include <isc/list.h> | ||||
#endif | #endif | ||||
#include "port_after.h" | #include "port_after.h" | ||||
/* Options. Leave them on. */ | /* Options. Leave them on. */ | ||||
#ifndef DEBUG | //#define DEBUG | ||||
#define DEBUG | |||||
#endif | |||||
#define MAXPORT 1024 | #define MAXPORT 1024 | ||||
static int getnum_str(u_char **, u_char *); | static int getnum_str(u_char **, u_char *); | ||||
static int gethexnum_str(u_char **, u_char *); | static int gethexnum_str(u_char **, u_char *); | ||||
static int getword_str(char *, int, u_char **, u_char *); | static int getword_str(char *, int, u_char **, u_char *); | ||||
static int getstr_str(char *, int, u_char **, u_char *); | static int getstr_str(char *, int, u_char **, u_char *); | ||||
#define ShrinkBuffer(x) if ((buflen -= x) < 0) return (-2); | #define ShrinkBuffer(x) if ((buflen -= x) < 0) return (-2); | ||||
▲ Show 20 Lines • Show All 1,132 Lines • Show Last 20 Lines |