/* * Copyright (C) 1995-1997 Christopher D. Granz * * This header may not be removed. * * Refer to the file "License" included in this package for further * information and before using any of the following. */ #ifndef __AREACON_H__ #define __AREACON_H__ #include "sapphire.h" /* * Function Prototypes */ #define RID ROOM_INDEX_DATA /* * main.c */ int main ( int, char *[] ); void * alloc_mem ( register size_t ); void free_mem ( register void * ); char * str_dup ( register char * ); char * remove_last_nl ( char * ); void convert_area ( FILE * ); void convert_socials ( FILE * ); void convert_helps ( FILE * ); void convert_mobiles ( FILE * ); void convert_objects ( FILE * ); void convert_rooms ( FILE * ); void convert_resets ( FILE * ); void convert_shops ( FILE * ); void convert_specials ( FILE * ); RID * get_room ( int ); void fput_rooms ( void ); /* * fileio.c */ char fget_letter ( FILE * ); char * fget_word ( FILE * ); void fput_string ( FILE *, char *, ... ); char * fget_string ( FILE * ); char * fget_string_eol ( FILE * ); long fget_number ( FILE * ); long fget_flags ( FILE * ); /* * error.c */ void warning ( char *, ... ); void error ( char *, ... ); void fatal ( char *, ... ); #undef RID #endif /* __AREACON_H__ */ /* * End of areacon.h */