]>
git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/cert.h
2 * "$Id: cert.h,v 1.7 2004/08/23 18:00:59 mike Exp $"
4 * Authentication certificate definitions for the Common UNIX
5 * Printing System (CUPS).
7 * Copyright 1997-2004 by Easy Software Products.
9 * These coded instructions, statements, and computer programs are the
10 * property of Easy Software Products and are protected by Federal
11 * copyright law. Distribution and use rights are outlined in the file
12 * "LICENSE.txt" which should have been included with this file. If this
13 * file is missing or damaged please contact Easy Software Products
16 * Attn: CUPS Licensing Information
17 * Easy Software Products
18 * 44141 Airport View Drive, Suite 204
19 * Hollywood, Maryland 20636 USA
21 * Voice: (301) 373-9600
22 * EMail: cups-info@cups.org
23 * WWW: http://www.cups.org
27 * Certificate structure...
30 typedef struct cert_str
32 struct cert_str
*next
; /* Next certificate in list */
33 int pid
; /* Process ID (0 for root certificate) */
34 char certificate
[33];/* 32 hex characters, or 128 bits */
35 char username
[33]; /* Authenticated username */
43 VAR cert_t
*Certs
; /* List of certificates */
44 VAR
time_t RootCertTime
; /* Root certificate update time */
51 extern void AddCert(int pid
, const char *username
);
52 extern void DeleteCert(int pid
);
53 extern void DeleteAllCerts(void);
54 extern const char *FindCert(const char *certificate
);
55 extern void InitCerts(void);
59 * End of "$Id: cert.h,v 1.7 2004/08/23 18:00:59 mike Exp $".