~ubuntu-branches/ubuntu/hardy/pennmush/hardy

« back to all changes in this revision

Viewing changes to hdrs/malias.h

  • Committer: Bazaar Package Importer
  • Author(s): Ervin Hearn III
  • Date: 2007-10-14 22:26:42 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071014222642-3vt0pg0vxdiuxq5z
Tags: 1.8.2p7-1
* New upstream release
* Latest upstream release fixes possible DoS vulnerabilities in
  pennmush (Closes: #436249)
* Added missing build target to debian/rules (Closes: #395786)
* Corrected FTBFS on GNU/kFreeBSD due to timestamp skew
  (Closes: #403711)
* Applied patch to correct control file to make package binNMU safe
  (Closes: #435951)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#define _MALIAS_H
5
5
 
6
6
 
7
 
#define MALIAS_TOKEN    '+'     /* Initial char for alias names */
 
7
#define MALIAS_TOKEN    '+'     /* Initial char for alias names */
8
8
 
9
 
#define ALIAS_MEMBERS   0x1     /* Only those on the alias */
10
 
#define ALIAS_ADMIN     0x2     /* Only admin/powered */
11
 
#define ALIAS_OWNER     0x4     /* Only the owner */
 
9
#define ALIAS_MEMBERS   0x1     /* Only those on the alias */
 
10
#define ALIAS_ADMIN     0x2     /* Only admin/powered */
 
11
#define ALIAS_OWNER     0x4     /* Only the owner */
12
12
 
13
13
/** A mail alias.
14
14
 * This structure represents a mail alias (or mailing list).
15
15
 */
16
16
struct mail_alias {
17
 
  char *name;           /**< Name of the alias */
18
 
  unsigned char *desc;  /**< Description */
19
 
  int size;             /**< Size of the members array */
20
 
  dbref *members;       /**< Pointer to an array of dbrefs of list members */
21
 
  int nflags;           /**< Permissions for who can use/see alias name */
22
 
  int mflags;           /**< Permissions for who can list alias members */
23
 
  dbref owner;          /**< Who owns (controls) this alias */
 
17
  char *name;           /**< Name of the alias */
 
18
  unsigned char *desc;  /**< Description */
 
19
  int size;             /**< Size of the members array */
 
20
  dbref *members;       /**< Pointer to an array of dbrefs of list members */
 
21
  int nflags;           /**< Permissions for who can use/see alias name */
 
22
  int mflags;           /**< Permissions for who can list alias members */
 
23
  dbref owner;          /**< Who owns (controls) this alias */
24
24
};
25
25
 
26
26
 
46
46
extern void save_malias(FILE * fp);
47
47
extern void malias_cleanup(dbref player);
48
48
extern void do_malias_set(dbref player, char *alias, char *tolist);
49
 
#else                           /* MAIL_ALIASES */
 
49
#else                           /* MAIL_ALIASES */
50
50
 
51
51
/* We still need this one */
52
52
void load_malias(FILE * fp);