commac.h

src/commac.h · 680 B

From the archive tinymux-1.1.0.tar.gz

Download the archive   « Back to the archive contents

/* commac.h */
/* $Id: commac.h,v 1.1 1995/11/14 03:47:09 root Exp $ */

#ifndef __COMMAC_H__
#define __COMMAC_H__


struct commac
{
    dbref who;

    int numchannels;
    int maxchannels;
    char *alias;
    char **channels;

    int curmac;
    int macros[5];

    struct commac *next;
};

#define NUM_COMMAC 500

struct commac *commac_table[NUM_COMMAC];

char *load_commac ();
char *save_commac ();
char *purge_commac();

char *sort_com_aliases();
struct commac *get_commac ();
struct commac *create_new_commac ();
char *destroy_commac ();
char *add_commac ();
char *del_commac ();
char *save_comsys_and_macros ();
char *load_comsys_and_macros ();
#endif /* __COMMAC_H__ */

Site Stats

Snippets: 1791
Codebases: 571