Back to index

glibc  2.9
hesiod-init.c File Reference
#include <sys/cdefs.h>
#include <hesiod.h>
#include <resolv.h>
#include <stddef.h>
#include "nss_hesiod.h"

Go to the source code of this file.


void * _nss_hesiod_init (void)

Function Documentation

void* _nss_hesiod_init ( void  )

Definition at line 28 of file hesiod-init.c.

  void *context;

  if (hesiod_init (&context) == -1)
    return NULL;

  /* Use the default (per-thread) resolver state.  */
  __hesiod_res_set (context, &_res, NULL);

  return context;

Here is the call graph for this function:

Here is the caller graph for this function: