Home
last modified time | relevance | path

Searched refs:cupsd_location_t (Results 1 – 9 of 9) sorted by relevance

/external/libcups/scheduler/
Dauth.h97 } cupsd_location_t; typedef
121 extern void cupsdAddLocation(cupsd_location_t *loc);
122 extern void cupsdAddName(cupsd_location_t *loc, char *name);
125 extern int cupsdCheckAccess(unsigned ip[4], const char *name, size_t namelen, cupsd_location_t *lo…
130 extern cupsd_location_t *cupsdCopyLocation(cupsd_location_t *loc);
132 extern cupsd_location_t *cupsdFindBest(const char *path, http_state_t state);
133 extern cupsd_location_t *cupsdFindLocation(const char *location);
134 extern void cupsdFreeLocation(cupsd_location_t *loc);
136 extern cupsd_location_t *cupsdNewLocation(const char *location);
Dpolicy.c22 static int compare_ops(cupsd_location_t *a, cupsd_location_t *b);
25 static int hash_op(cupsd_location_t *op);
64 cupsd_location_t * /* O - New policy operation */
66 cupsd_location_t *po, /* I - Policy operation to copy */ in cupsdAddPolicyOp()
69 cupsd_location_t *temp; /* New policy operation */ in cupsdAddPolicyOp()
108 cupsd_location_t *po; /* Current policy operation */ in cupsdCheckPolicy()
206 cupsd_location_t * /* O - Policy operation */
210 cupsd_location_t key, /* Search key... */ in cupsdFindPolicyOp()
229 if ((po = (cupsd_location_t *)cupsArrayFind(p->ops, &key)) != NULL) in cupsdFindPolicyOp()
237 if ((po = (cupsd_location_t *)cupsArrayFind(p->ops, &key)) != NULL) in cupsdFindPolicyOp()
[all …]
Dpolicy.h41 extern cupsd_location_t *cupsdAddPolicyOp(cupsd_policy_t *p,
42 cupsd_location_t *po,
48 extern cupsd_location_t *cupsdFindPolicyOp(cupsd_policy_t *p, ipp_op_t op);
Dauth.c63 static int compare_locations(cupsd_location_t *a,
64 cupsd_location_t *b);
123 cupsdAddLocation(cupsd_location_t *loc) /* I - Location to add */ in cupsdAddLocation()
149 cupsdAddName(cupsd_location_t *loc, /* I - Location to add to */ in cupsdAddName()
893 cupsd_location_t *loc) /* I - Location to check */ in cupsdCheckAccess()
1272 cupsd_location_t * /* O - New location */
1274 cupsd_location_t *loc) /* I - Original location */ in cupsdCopyLocation()
1276 cupsd_location_t *temp; /* New location */ in cupsdCopyLocation()
1283 if ((temp = calloc(1, sizeof(cupsd_location_t))) == NULL) in cupsdCopyLocation()
1373 cupsd_location_t * /* O - Location that matches */
[all …]
Dclient.h26 cupsd_location_t *best; /* Best match for AAA */
Dconf.c190 static int parse_aaa(cupsd_location_t *loc, char *line,
1331 cupsd_location_t *po; /* New policy operation */ in cupsdReadConfiguration()
1494 cupsd_location_t *loc; /* Current location */ in cupsdReadConfiguration()
1498 …for (j = 0, loc = (cupsd_location_t *)cupsArrayFirst(p->ops); loc; j ++, loc = (cupsd_location_t *… in cupsdReadConfiguration()
2055 parse_aaa(cupsd_location_t *loc, /* I - Location */ in parse_aaa()
3726 cupsd_location_t *loc, /* New location */ in read_location()
3845 cupsd_location_t *op; /* Policy operation */ in read_policy()
4107 cupsd_location_t *op; /* Policy operation */ in set_policy_defaults()
Ddirsvc.c1585 cupsd_location_t *auth; /* Pointer to authentication element */ in get_auth_info_required()
Dprinters.c2249 cupsd_location_t *auth; /* Pointer to authentication element */ in cupsdSetPrinterAttrs()
Dipp.c10018 cupsd_location_t *auth; /* Pointer to authentication element */ in send_http_error()