pike.git / src / builtin_functions.h

version» Context lines:

pike.git/src/builtin_functions.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: builtin_functions.h,v 1.32 2004/09/28 16:55:07 grubba Exp $ + || $Id: builtin_functions.h,v 1.33 2006/03/11 17:21:34 grubba Exp $   */      #ifndef BUILTIN_EFUNS_H   #define BUILTIN_EFUNS_H      #define TYPEP(ID,NAME,TYPE) PMOD_EXPORT void ID(INT32 args);      #include "callback.h"   #include "block_alloc_h.h"   
pike.git/src/builtin_functions.h:20:   #define PIKE_WEAK_BOTH 6      /* Prototypes begin here */   PMOD_EXPORT void debug_f_aggregate(INT32 args);   #ifdef DEBUG_MALLOC   #define f_aggregate(X) do { debug_f_aggregate(X); debug_malloc_touch(Pike_sp[-1].u.refs); } while (0)   #else   #define f_aggregate(X) debug_f_aggregate(X)   #endif    + struct replace_many_tupel + { +  int prefix; +  int is_prefix; +  struct pike_string *ind; +  struct pike_string *val; + }; +  + struct replace_many_context + { +  struct replace_many_tupel *v; +  struct pike_string *empty_repl; +  int set_start[256]; +  int set_end[256]; +  int other_start; +  int num; +  int flags; + }; +    PMOD_EXPORT void f_equal(INT32 args);   PMOD_EXPORT void f_hash(INT32 args);   PMOD_EXPORT void f_copy_value(INT32 args);   PMOD_EXPORT void f_lower_case(INT32 args);   PMOD_EXPORT void f_upper_case(INT32 args);   PMOD_EXPORT void f_random_string (INT32 args);   PMOD_EXPORT void f_random_seed(INT32 args);   PMOD_EXPORT void f_query_num_arg(INT32 args);   PMOD_EXPORT void f_search(INT32 args);   PMOD_EXPORT void f_has_prefix(INT32 args);
pike.git/src/builtin_functions.h:54:   PMOD_EXPORT void f_throw(INT32 args);   PMOD_EXPORT void f_exit(INT32 args);   void f__exit(INT32 args);   PMOD_EXPORT void f_time(INT32 args);   PMOD_EXPORT void f_crypt(INT32 args);   PMOD_EXPORT void f_destruct(INT32 args);   PMOD_EXPORT void f_indices(INT32 args);   PMOD_EXPORT void f_values(INT32 args);   PMOD_EXPORT void f_next_object(INT32 args);   PMOD_EXPORT void f_object_program(INT32 args); + int find_longest_prefix(char *str, +  ptrdiff_t len, +  int size_shift, +  struct replace_many_tupel *v, +  INT32 a, +  INT32 b); + void free_replace_many_context(struct replace_many_context *ctx); + void compile_replace_many(struct replace_many_context *ctx, +  struct array *from, +  struct array *to, +  int reference_strings); + struct pike_string *execute_replace_many(struct replace_many_context *ctx, +  struct pike_string *str);   PMOD_EXPORT void f_reverse(INT32 args); - struct tupel; +    PMOD_EXPORT void f_replace(INT32 args);   PMOD_EXPORT void f_compile(INT32 args);   PMOD_EXPORT void f_objectp(INT32 args);   PMOD_EXPORT void f_functionp(INT32 args);   PMOD_EXPORT void f_callablep(INT32 args);   PMOD_EXPORT void f_sleep(INT32 args);   PMOD_EXPORT void f_delay(INT32 args);   void f_gc(INT32 args);   PMOD_EXPORT void f_programp(INT32 args);   TYPEP(f_intp, "intpp", PIKE_T_INT)