EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Defines | Functions

StdLib/BsdSocketLib/res_mkupdate.c File Reference

#include <sys/types.h>
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <arpa/inet.h>
#include <errno.h>
#include <limits.h>
#include <netdb.h>
#include <resolv.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include "res_config.h"

Go to the source code of this file.


#define ShrinkBuffer(x)   if ((buflen -= x) < 0) return (-2);


int res_mkupdate (ns_updrec *rrecp_in, u_char *buf, int buflen)
ns_updrecres_mkupdrec (int section, const char *dname, u_int class, u_int type, u_long ttl)
void res_freeupdrec (ns_updrec *rrecp)

Define Documentation

#define ShrinkBuffer (   x)    if ((buflen -= x) < 0) return (-2);

Definition at line 89 of file res_mkupdate.c.

Function Documentation

void res_freeupdrec ( ns_updrec rrecp)

Definition at line 449 of file res_mkupdate.c.

int res_mkupdate ( ns_updrec rrecp_in,
u_char buf,
int  buflen 

Definition at line 104 of file res_mkupdate.c.

ns_updrec* res_mkupdrec ( int  section,
const char *  dname,
u_int  class,
u_int  type,
u_long  ttl 

Definition at line 432 of file res_mkupdate.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines