src/p.functions.h

Go to the documentation of this file.
00001 
00002 /*
00003    p.functions.h
00004 
00005    Automatically created by protomaker (C) 1998 Markus Stenberg (fingon@iki.fi)
00006    Protomaker is actually only a wrapper script for cproto, but well.. I like
00007    fancy headers and stuff :)
00008    */
00009 
00010 /* Generated at Thu Mar 11 17:43:47 CET 1999 from functions.c */
00011 
00012 #ifndef _P_FUNCTIONS_H
00013 #define _P_FUNCTIONS_H
00014 
00015 /* functions.c */
00016 char *trim_space_sep(char *str, int sep);
00017 char *next_token(char *str, int sep);
00018 char *split_token(char **sp, int sep);
00019 dbref match_thing(dbref player, char *name);
00020 int list2arr(char *arr[], int maxlen, char *list, int sep);
00021 void arr2list(char *arr[], int alen, char *list, char **bufc, int sep);
00022 int nearby_or_control(dbref player, dbref thing);
00023 int fn_range_check(const char *fname, int nfargs, int minargs, int maxargs,
00024     char *result, char **bufc);
00025 int delim_check(char *fargs[], int nfargs, int sep_arg, char *sep,
00026     char *buff, char **bufc, int eval, dbref player, dbref cause,
00027     char *cargs[], int ncargs);
00028 int countwords(char *str, int sep);
00029 time_t mytime(dbref player);
00030 int do_convtime(char *str, struct tm *ttm);
00031 char *get_uptime_to_string(int uptime);
00032 char *get_uptime_to_short_string(int uptime);
00033 int check_read_perms(dbref player, dbref thing, ATTR * attr, int aowner,
00034     int aflags, char *buff, char **bufc);
00035 int xlate(char *arg);
00036 void init_functab(void);
00037 void do_function(dbref player, dbref cause, int key, char *fname,
00038     char *target);
00039 void list_functable(dbref player);
00040 int cf_func_access(int *vp, char *str, long extra, dbref player,
00041     char *cmd);
00042 
00043 #endif                          /* _P_FUNCTIONS_H */

Generated on Mon May 28 04:25:25 2007 for BattletechMUX by  doxygen 1.4.7