netatalk: print_cups.h Source File

netatalk 4.5.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
print_cups.h
Go to the documentation of this file.
1
2#ifndef PAPD_CUPS_H
3#define PAPD_CUPS_H 1
4
5#ifdef HAVE_CUPS
6#include <sys/types.h>
7
8 struct cups_status {
9 int pr_status;
10 char *status_message;
11};
12
13int cups_printername_ok(char *);
14const char *cups_get_printer_ppd(char *);
15int cups_get_printer_status(struct printer *pr);
16int cups_print_job(char *, const char *, char *, char *, char *);
17struct printer *cups_autoadd_printers(struct printer *, struct printer *);
18int cups_check_printer(struct printer *, struct printer *, int);
19const char *cups_get_language(void);
20#endif /* HAVE_CUPS */
21#endif /* PAPD_CUPS_H */
cups_print_job
int cups_print_job(char *, const char *, char *, char *, char *)
Definition print_cups.c:507
cups_autoadd_printers
struct printer * cups_autoadd_printers(struct printer *, struct printer *)
Definition print_cups.c:614
cups_get_language
const char * cups_get_language(void)
Definition print_cups.c:68
cups_check_printer
int cups_check_printer(struct printer *, struct printer *, int)
check if a printer with this name already exists.
Definition print_cups.c:816
cups_get_printer_status
int cups_get_printer_status(struct printer *pr)
Definition print_cups.c:338
cups_printername_ok
int cups_printername_ok(char *)
Verify supplied printer name is a valid cups printer.
Definition print_cups.c:102
cups_get_printer_ppd
const char * cups_get_printer_ppd(char *)
Definition print_cups.c:140
cups_status
Definition print_cups.h:8
cups_status::status_message
char * status_message
Definition print_cups.h:10
cups_status::pr_status
int pr_status
Definition print_cups.h:9
printer
Definition printer.h:6