#include <string.h>#include <stdio.h>#include <stdlib.h>#include <atalk/logger.h>#include <sys/param.h>#include <sys/time.h>#include <sys/types.h>#include <netatalk/at.h>#include <atalk/atp.h>#include "file.h"#include "comment.h"#include "printer.h"#include "ppd.h"#include "lp.h"#include "uam_auth.h"Data Structures | |
| struct | genquery |
Functions | |
| int | cq_default (struct papfile *, struct papfile *, struct sockaddr_at *) |
| int | cq_k4login (struct papfile *, struct papfile *, struct sockaddr_at *) |
| int | cq_uameth (struct papfile *, struct papfile *, struct sockaddr_at *) |
| int | gq_balance (struct papfile *) |
| int | gq_pagecost (struct papfile *) |
| int | gq_true (struct papfile *) |
| int | gq_rbispoolerid (struct papfile *) |
| int | gq_rbiuamlist (struct papfile *) |
| int | gq_product (struct papfile *) |
| int | cq_query (struct papfile *, struct papfile *, struct sockaddr_at *) |
| void | cq_font_answer (char *, char *, struct papfile *) |
| int | cq_fontlist (struct papfile *, struct papfile *, struct sockaddr_at *) |
| int | cq_font (struct papfile *, struct papfile *, struct sockaddr_at *) |
| int | cq_feature (struct papfile *, struct papfile *, struct sockaddr_at *) |
| int | cq_printer (struct papfile *, struct papfile *, struct sockaddr_at *) |
| int | cq_rmjob (struct papfile *, struct papfile *, struct sockaddr_at *) |
| int | cq_end (struct papfile *, struct papfile *, struct sockaddr_at *) |
| int | cq_rbilogin (struct papfile *in, struct papfile *out, struct sockaddr_at *sat) |
Variables | |
| static const char * | spoolerid = "(PAPD Spooler) 1.0 (" VERSION ")\n" |
| static const char * | nouams = "*\n" |
| struct genquery | genqueries [] |
| static const char * | psver = "*PSVersion\n" |
| static const char * | prod = "*Product\n" |
| static struct uam_obj * | papd_uam = NULL |
| static const char * | rbiloginok = "0\r" |
| static const char * | rbiloginbad = "-1\r" |
| static const char * | rbiloginerrstr |
| struct papd_comment | queries [] |
| int cq_default | ( | struct papfile * | in, |
| struct papfile * | out, | ||
| struct sockaddr_at * | sat ) |
| int cq_end | ( | struct papfile * | in, |
| struct papfile * | out, | ||
| struct sockaddr_at * | sat ) |
| int cq_feature | ( | struct papfile * | in, |
| struct papfile * | out, | ||
| struct sockaddr_at * | sat ) |
| int cq_font | ( | struct papfile * | in, |
| struct papfile * | out, | ||
| struct sockaddr_at * | sat ) |
| void cq_font_answer | ( | char * | start, |
| char * | stop, | ||
| struct papfile * | out ) |
| int cq_fontlist | ( | struct papfile * | in, |
| struct papfile * | out, | ||
| struct sockaddr_at * | sat ) |
| int cq_k4login | ( | struct papfile * | , |
| struct papfile * | , | ||
| struct sockaddr_at * | ) |
| int cq_printer | ( | struct papfile * | in, |
| struct papfile * | out, | ||
| struct sockaddr_at * | sat ) |
| int cq_query | ( | struct papfile * | in, |
| struct papfile * | out, | ||
| struct sockaddr_at * | sat ) |
| int cq_rbilogin | ( | struct papfile * | in, |
| struct papfile * | out, | ||
| struct sockaddr_at * | sat ) |
Handler for RBILogin
| int cq_rmjob | ( | struct papfile * | , |
| struct papfile * | , | ||
| struct sockaddr_at * | ) |
| int cq_uameth | ( | struct papfile * | , |
| struct papfile * | , | ||
| struct sockaddr_at * | ) |
| int gq_balance | ( | struct papfile * | ) |
| int gq_pagecost | ( | struct papfile * | out | ) |
| int gq_product | ( | struct papfile * | out | ) |
| int gq_rbispoolerid | ( | struct papfile * | out | ) |
Handler for RBISpoolerID
| int gq_rbiuamlist | ( | struct papfile * | out | ) |
Handler for RBIUAMListQuery
| int gq_true | ( | struct papfile * | out | ) |
| struct genquery genqueries[] |
|
static |
|
static |
|
static |
|
static |
| struct papd_comment queries[] |
All queries start with %%?Begin and end with %%?End. Note that the "Begin"/"End" general queries have to be last.
|
static |
|
static |
|
static |
|
static |