41 lines
796 B
C
41 lines
796 B
C
/* $Id: mgrutil.h,v 1.10 2005/08/28 12:54:10 mbse Exp $ */
|
|
|
|
#ifndef _MGRUTIL_H
|
|
#define _MGRUTIL_H
|
|
|
|
|
|
#define LIST_LIST 0
|
|
#define LIST_NOTIFY 1
|
|
#define LIST_QUERY 2
|
|
#define LIST_UNLINK 3
|
|
|
|
|
|
|
|
/*
|
|
* Linked list for atea areas create
|
|
*/
|
|
typedef struct _AreaList {
|
|
struct _AreaList *next;
|
|
char Name[51];
|
|
int IsPresent;
|
|
int DoDelete;
|
|
} AreaList;
|
|
|
|
|
|
void MacroRead(FILE *, FILE *);
|
|
int MsgResult(const char *, FILE *, char);
|
|
void GetRpSubject(const char *, char*, size_t);
|
|
|
|
void WriteMailGroups(FILE *, faddr *);
|
|
void WriteFileGroups(FILE *, faddr *);
|
|
void CleanBuf(char *);
|
|
void ShiftBuf(char *, int);
|
|
void MgrPasswd(faddr *, char *, FILE *, int, int);
|
|
void MgrNotify(faddr *, char *, FILE *, int);
|
|
int UplinkRequest(faddr *, faddr *, int, char *);
|
|
int Areas(void);
|
|
|
|
|
|
#endif
|
|
|