cb22561995-10-11Fredrik Hübinette (Hubbe) /*\
06983f1996-09-22Fredrik Hübinette (Hubbe) ||| This file a part of Pike, and is copyright by Fredrik Hubinette ||| Pike is distributed as GPL (General Public License)
cb22561995-10-11Fredrik Hübinette (Hubbe) ||| See the files COPYING and DISCLAIMER for more information. \*/
5267b71995-08-09Fredrik Hübinette (Hubbe) #ifndef BUILTIN_EFUNS_H #define BUILTIN_EFUNS_H #define TYPEP(ID,NAME,TYPE) void ID(INT32 args);
3beb891996-06-21Fredrik Hübinette (Hubbe) #include "callback.h"
5267b71995-08-09Fredrik Hübinette (Hubbe)  /* Prototypes begin here */
3beb891996-06-21Fredrik Hübinette (Hubbe) void f_equal(INT32 args);
5267b71995-08-09Fredrik Hübinette (Hubbe) void f_aggregate(INT32 args); void f_trace(INT32 args); void f_hash(INT32 args); void f_copy_value(INT32 args); void f_ctime(INT32 args); void f_lower_case(INT32 args); void f_upper_case(INT32 args); void f_random(INT32 args);
3beb891996-06-21Fredrik Hübinette (Hubbe) void f_random_seed(INT32 args);
5267b71995-08-09Fredrik Hübinette (Hubbe) void f_query_num_arg(INT32 args); void f_search(INT32 args); void f_call_function(INT32 args); void f_backtrace(INT32 args);
06983f1996-09-22Fredrik Hübinette (Hubbe) void f_add_constant(INT32 args);
5267b71995-08-09Fredrik Hübinette (Hubbe) void f_compile_file(INT32 args); void f_combine_path(INT32 args); void f_function_object(INT32 args); void f_function_name(INT32 args); void f_zero_type(INT32 args);
06983f1996-09-22Fredrik Hübinette (Hubbe) void f_all_constants(INT32 args);
5267b71995-08-09Fredrik Hübinette (Hubbe) void f_allocate(INT32 args); void f_rusage(INT32 args); void f_this_object(INT32 args); void f_throw(INT32 args);
3beb891996-06-21Fredrik Hübinette (Hubbe) struct callback *add_exit_callback(callback_func call, void *arg, callback_func free_func);
5267b71995-08-09Fredrik Hübinette (Hubbe) void f_exit(INT32 args); void f_query_host_name(INT32 args); void f_time(INT32 args); void f_crypt(INT32 args); void f_destruct(INT32 args); void f_indices(INT32 args); void f_values(INT32 args); void f_next_object(INT32 args); void f_object_program(INT32 args); void f_reverse(INT32 args); struct tupel; void f_replace(INT32 args); void f_compile_string(INT32 args);
3beb891996-06-21Fredrik Hübinette (Hubbe) void f_mkmapping(INT32 args); void f_objectp(INT32 args); void f_functionp(INT32 args); void f_sleep(INT32 args); void f_gc(INT32 args);
5267b71995-08-09Fredrik Hübinette (Hubbe) TYPEP(f_programp, "programp", T_PROGRAM) TYPEP(f_intp, "intpp", T_INT) TYPEP(f_mappingp, "mappingp", T_MAPPING) TYPEP(f_arrayp, "arrayp", T_ARRAY)
06983f1996-09-22Fredrik Hübinette (Hubbe) TYPEP(f_multisetp, "multisetp", T_MULTISET)
5267b71995-08-09Fredrik Hübinette (Hubbe) TYPEP(f_stringp, "stringp", T_STRING) TYPEP(f_floatp, "floatp", T_FLOAT)
3beb891996-06-21Fredrik Hübinette (Hubbe) void f_sort(INT32 args); void f_rows(INT32 args); void f_column(INT32 args); void f__verify_internals(INT32 args); void f_localtime(INT32 args); void f_glob(INT32 args);
c3c7031996-12-04Fredrik Hübinette (Hubbe) struct callback *add_memory_usage_callback(callback_func call, void *arg, callback_func free_func); void f__memory_usage(INT32 args);
5267b71995-08-09Fredrik Hübinette (Hubbe) void init_builtin_efuns(); /* Prototypes end here */ #endif