src/commac.h

Go to the documentation of this file.
00001 
00002 /* commac.h */
00003 
00004 /* $Id: commac.h,v 1.1 2005/06/13 20:50:46 murrayma Exp $ */
00005 
00006 #ifndef __COMMAC_H__
00007 #define __COMMAC_H__
00008 
00009 struct commac {
00010     dbref who;
00011 
00012     int numchannels;
00013     int maxchannels;
00014     char *alias;
00015     char **channels;
00016 
00017     int curmac;
00018     int macros[5];
00019 
00020     struct commac *next;
00021 };
00022 
00023 #define NUM_COMMAC 500
00024 
00025 struct commac *commac_table[NUM_COMMAC];
00026 
00027 void load_commac();
00028 void save_commac();
00029 void purge_commac();
00030 
00031 void sort_com_aliases();
00032 struct commac *get_commac();
00033 struct commac *create_new_commac();
00034 void destroy_commac();
00035 void add_commac();
00036 void del_commac();
00037 void save_comsys_and_macros(char *);
00038 void load_comsys_and_macros(char *);
00039 
00040 #endif                          /* __COMMAC_H__ */

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