git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/icmp-dn@235
959494ce-11ee-0310-bf91-
de5d638817bd
#include <nss.h>
#include <sys/types.h>
#include <fcntl.h>
#include <nss.h>
#include <sys/types.h>
#include <fcntl.h>
#define CONFIGFILE "/etc/nss-icmp.conf"
#if 0
#define CONFIGFILE "/etc/nss-icmp.conf"
#if 0
pid_t child;
int pfd[2];
int rl;
pid_t child;
int pfd[2];
int rl;
struct cache *cc;
if(!inited) {
struct cache *cc;
if(!inited) {
addrbuf[rl] = 0;
close(pfd[0]);
addrbuf[rl] = 0;
close(pfd[0]);
+ waitpid(child, &status, 0);
+
if((p = strchr(addrbuf, '\n')) == NULL) {
if(usecache)
cachenotfound(addr, len, af, nfttl);
if((p = strchr(addrbuf, '\n')) == NULL) {
if(usecache)
cachenotfound(addr, len, af, nfttl);