/*
- * "$Id: cupsd.h 6875 2007-08-27 23:25:06Z mike $"
+ * "$Id: cupsd.h 7317 2008-02-15 22:29:27Z mike $"
*
* Main header file for the Common UNIX Printing System (CUPS) scheduler.
*
VAR int TestConfigFile VALUE(0);
/* Test the cupsd.conf file? */
-VAR int MaxFDs; /* Maximum number of files */
+VAR int MaxFDs VALUE(0);
+ /* Maximum number of files */
VAR time_t ReloadTime VALUE(0);
/* Time of reload request... */
VAR int NeedReload VALUE(RELOAD_ALL);
/* Need to load configuration? */
+VAR void *DefaultProfile VALUE(0);
+ /* Default security profile */
#ifdef HAVE_GSSAPI
-VAR krb5_context KerberosContext;/* Kerberos context for credentials */
+VAR krb5_context KerberosContext VALUE(NULL);
+ /* Kerberos context for credentials */
#endif /* HAVE_GSSAPI */
#ifdef HAVE_LAUNCH_H
#endif /* __GNUC__ */
;
+extern void *cupsdCreateProfile(int job_id);
+extern void cupsdDestroyProfile(void *profile);
extern int cupsdEndProcess(int pid, int force);
extern const char *cupsdFinishProcess(int pid, char *name, int namelen);
extern int cupsdStartProcess(const char *command, char *argv[],
char *envp[], int infd, int outfd,
int errfd, int backfd, int sidefd,
- int root, int *pid);
+ int root, void *profile, int *pid);
extern int cupsdAddSelect(int fd, cupsd_selfunc_t read_cb,
cupsd_selfunc_t write_cb, void *data);
extern int cupsdRemoveFile(const char *filename);
/*
- * End of "$Id: cupsd.h 6875 2007-08-27 23:25:06Z mike $".
+ * End of "$Id: cupsd.h 7317 2008-02-15 22:29:27Z mike $".
*/