summaryrefslogtreecommitdiff
path: root/scheduler/auth.h
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2008-01-08 00:39:02 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2008-01-08 00:39:02 +0000
commit080811b190031b9182e96dc76fc610fadfeaec21 (patch)
treea8e952f994af53c47ca5bc9d41f6d171f17009ad /scheduler/auth.h
parent3d052e433049a9cd5a7a1b7934b8a39badc8102b (diff)
downloadcups-080811b190031b9182e96dc76fc610fadfeaec21.tar.gz
Merge changes from CUPS 1.4svn-r7199.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@577 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/auth.h')
-rw-r--r--scheduler/auth.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scheduler/auth.h b/scheduler/auth.h
index e3b83f3a8..6e00a1939 100644
--- a/scheduler/auth.h
+++ b/scheduler/auth.h
@@ -4,7 +4,7 @@
* Authorization definitions for the Common UNIX Printing System (CUPS)
* scheduler.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2008 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
@@ -134,6 +134,8 @@ extern void cupsdAllowHost(cupsd_location_t *loc, char *name);
extern void cupsdAllowIP(cupsd_location_t *loc, unsigned address[4],
unsigned netmask[4]);
extern void cupsdAuthorize(cupsd_client_t *con);
+extern int cupsdCheckAccess(unsigned ip[4], char *name,
+ int namelen, cupsd_location_t *loc);
extern int cupsdCheckAuth(unsigned ip[4], char *name, int namelen,
int num_masks, cupsd_authmask_t *masks);
extern int cupsdCheckGroup(const char *username,