add_action.h

ds2.10/fluffos-2.16-ds05/add_action.h · 800 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#ifndef ADD_ACTION_H
#define ADD_ACTION_H 1

#ifndef NO_ADD_ACTION
extern object_t *hashed_living[CFG_LIVING_HASH_SIZE];

int	    parse_command	(char *, object_t *);
void	    clear_notify	(object_t *);
void	    stat_living_objects	(outbuffer_t *);
void	    remove_living_name	(object_t *);
object_t *  find_living_object	(const char *, int);
void	    setup_new_commands	(object_t *, object_t *);
#ifndef NO_ENVIRONMENT
void	    remove_sent		(object_t *, object_t *);
#endif
#else
/* STUBS */
#define parse_command(x, y)	    do{}while(0)
#define clear_notify(x)		    do{}while(0)
#define stat_living_objects(x)	    do{}while(0)
#define remove_living_name(x)	    do{}while(0)
#define remove_sent(x, y)	    do{}while(0)
#define setup_new_commands(x, y)    do{}while(0)
#endif

#endif	/* ADD_ACTION_H */

Site Stats

Snippets: 1791
Codebases: 571