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

version» Context lines:

pike.git/src/modules/Yp/yp.c:21:   #include "error.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "mapping.h"   #include "builtin_functions.h"   #include "module_support.h"    - RCSID("$Id: yp.c,v 1.16 1999/02/10 21:51:02 hubbe Exp $"); + RCSID("$Id: yp.c,v 1.17 1999/08/03 00:42:53 hubbe Exp $");      #define YPERROR(fun,err) do{ if(err) error("yp->%s(): %s\n", (fun), \    yperr_string(err)); }while(0)      struct my_yp_domain   {    char *domain;    int last_size; /* Optimize some allocations */   };   
pike.git/src/modules/Yp/yp.c:118:    {    free_mapping( res_map );    YPERROR( "all", err );    }       this->last_size = num;    pop_n_elems(args);    push_mapping( res_map );   }    - void f_map(INT32 args) + static void f_map(INT32 args)   {    int err;    char *retval, *retkey;    int retlen, retkeylen;    char *map;       struct svalue *f = &sp[-1];       check_all_args("map", args, BIT_STRING, BIT_FUNCTION|BIT_ARRAY, 0 );