~ubuntu-branches/ubuntu/maverick/postfix/maverick-security

« back to all changes in this revision

Viewing changes to src/master/master.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, Wietse Venema, LaMont Jones
  • Date: 2009-06-03 14:17:08 UTC
  • mfrom: (1.1.22 upstream)
  • Revision ID: james.westby@ubuntu.com-20090603141708-o9u59xlor7nmd2x1
[Wietse Venema]

* New upstream release: 2.6.2~rc1

[LaMont Jones]

* move postfix-add-{filter,policy} manpages to section 8, and deliver
* provide: default-mta on ubuntu

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
extern void master_vars_init(void);
130
130
 
131
131
 /*
132
 
  * master_tab.c
 
132
  * master_service.c
133
133
  */
134
134
extern MASTER_SERV *master_head;
135
135
extern void master_start_service(MASTER_SERV *);
184
184
extern void master_flow_init(void);
185
185
extern int master_flow_pipe[2];
186
186
 
 
187
 /*
 
188
  * master_watch.c
 
189
  * 
 
190
  * Support to warn about main.cf parameters that can only be initialized but
 
191
  * not updated, and to initialize or update data structures that derive
 
192
  * values from main.cf parameters.
 
193
  */
 
194
typedef struct {
 
195
    const char *name;                   /* parameter name */
 
196
    char  **value;                      /* current main.cf value */
 
197
    char  **backup;                     /* actual value that is being used */
 
198
    int     flags;                      /* see below */
 
199
    void    (*notify) (void);           /* init or update data structure */
 
200
} MASTER_STR_WATCH;
 
201
 
 
202
typedef struct {
 
203
    const char *name;                   /* parameter name */
 
204
    int    *value;                      /* current main.cf value */
 
205
    int     backup;                     /* actual value that is being used */
 
206
    int     flags;                      /* see below */
 
207
    void    (*notify) (void);           /* init or update data structure */
 
208
} MASTER_INT_WATCH;
 
209
 
 
210
#define MASTER_WATCH_FLAG_UPDATABLE (1<<0)      /* support update after init */
 
211
#define MASTER_WATCH_FLAG_ISSET    (1<<1)       /* backup is initialized */
 
212
 
 
213
extern void master_str_watch(const MASTER_STR_WATCH *);
 
214
extern void master_int_watch(MASTER_INT_WATCH *);
 
215
 
187
216
/* DIAGNOSTICS
188
217
/* BUGS
189
218
/* SEE ALSO