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.22 2001/01/05 13:50:56 grubba Exp $"); + RCSID("$Id: yp.c,v 1.23 2001/12/08 01:52:34 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
pike.git/src/modules/Yp/yp.c:89:       err = yp_master(this->domain, sp[-1].u.string->str, &ret);       YPERROR( "server", err );       pop_n_elems( args );    push_text( ret );   }      /*! @decl void create(string|void domain) +  *! @decl void bind(string domain)    *!    *! If @[domain] is not specified , the default domain will be used.    *! (As returned by @[Yp.default_yp_domain()]).    *!    *! If there is no YP server available for the domain, this    *! function call will block until there is one. If no server appears    *! in about ten minutes or so, an error will be returned. This timeout    *! is not configurable.    *!    *! @seealso