pike.git / src / modules / Yp / yp.c

version» Context lines:

pike.git/src/modules/Yp/yp.c:24:   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "mapping.h"   #include "builtin_functions.h"   #include "module_support.h"      /* must be included last */   #include "module_magic.h"    - RCSID("$Id: yp.c,v 1.24 2002/02/14 01:43:26 nilsson Exp $"); + #define sp Pike_sp    -  + RCSID("$Id: yp.c,v 1.25 2002/05/11 00:21:24 nilsson Exp $"); +    #ifdef HAVE_YPERR_STRING   #define YPERROR(fun,err) do{ if(err) Pike_error("yp->%s(): %s\n", (fun), \    yperr_string(err)); }while(0)   #else /* !HAVE_YPERR_STRING */   #define YPERROR(fun,err) do{ if(err) Pike_error("yp->%s(): YP error %d.\n", (fun), \    (err)); }while(0)   #endif /* HAVE_YPERR_STRING */      struct my_yp_domain   {    char *domain;    int last_size; /* Optimize some allocations */   };    - #define this ((struct my_yp_domain *)fp->current_storage) + #define this ((struct my_yp_domain *)Pike_fp->current_storage)      /*! @module Yp    *!    *! This module is an interface to the Yellow Pages functions. Yp is also    *! known as NIS (Network Information System) and is most commonly used to    *! distribute passwords and similar information within a network.    */      /*! @decl string default_yp_domain()    *!