Searched refs:ns_printer_t (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/print/libprint/common/
H A Dllib-lprint86 typedef struct ns_printer ns_printer_t;
89 ns_printer_t *ns_printer_create(char *, char **, char *, ns_kvp_t **);
90 ns_printer_t *ns_printer_get_name(const char *, const char *);
91 ns_printer_t **ns_printer_get_list(const char *);
92 int ns_printer_put(const ns_printer_t *);
93 void ns_printer_destroy(ns_printer_t *);
96 void *ns_get_value(const char *, const ns_printer_t *);
97 char *ns_get_value_string(const char *, const ns_printer_t *);
98 int ns_set_value(const char *, const void *, ns_printer_t *);
100 ns_printer_t *);
[all...]
H A Dns.h153 typedef struct ns_printer ns_printer_t; typedef in typeref:struct:ns_printer
156 extern ns_printer_t *ns_printer_create(char *, char **, char *, ns_kvp_t **);
157 extern ns_printer_t *ns_printer_get_name(const char *, const char *);
158 extern ns_printer_t **ns_printer_get_list(const char *);
159 extern int ns_printer_put(const ns_printer_t *);
160 extern void ns_printer_destroy(ns_printer_t *);
167 extern char *_cvt_printer_to_entry(ns_printer_t *, char *, int);
169 extern ns_printer_t *_cvt_nss_entry_to_printer(char *, char *);
170 extern ns_printer_t *posix_name(const char *);
175 extern void *ns_get_value(const char *, const ns_printer_t *);
[all...]
H A Dns.c66 * void ns_printer_destroy(ns_printer_t *printer)
68 * ns_printer_t *printer - a pointer to the printer "object" to destroy
77 ns_printer_destroy(ns_printer_t *printer)
99 * ns_printer_t **ns_printer_get_list()
101 * ns_printer_t ** (return value) - an array of pointers to printer
107 ns_printer_t **
111 ns_printer_t **printer_list = NULL;
117 ns_printer_t *printer =
118 (ns_printer_t *)_cvt_nss_entry_to_printer(buf, NULL);
120 printer_list = (ns_printer_t **)list_appen
[all...]
H A Dns_cmn_printer.c61 * ns_printer_t * (return value)
65 ns_printer_t *
69 ns_printer_t *printer;
71 if ((printer = (ns_printer_t *)calloc(1, sizeof (*printer))) != NULL) {
90 * ns_printer_match_name(const ns_printer_t *printer, const char *name)
92 * const ns_printer_t *printer
102 ns_printer_match_name(ns_printer_t *printer, const char *name)
131 * char *ns_printer_name_list(const ns_printer_t *printer)
133 * const ns_printer_t *printer - printer object to generate list from
139 ns_printer_name_list(const ns_printer_t *printe
[all...]
H A Dns_cmn_kvp.c108 * ns_r_get_value(const char *key, const ns_printer_t *printer)
112 * const ns_printer_t *printer
120 ns_r_get_value(const char *key, const ns_printer_t *printer, int level)
158 ns_printer_t *printer =
167 ns_printer_t **printers;
178 ns_printer_t *printer =
201 ns_get_value(const char *key, const ns_printer_t *printer)
212 ns_get_value_string(const char *key, const ns_printer_t *printer)
223 ns_set_value(const char *key, const void *value, ns_printer_t *printer)
236 ns_printer_t *printe
[all...]
H A Dnss_convert.c75 _cvt_printer_to_entry(ns_printer_t *printer, char *buf, int buflen)
138 ns_printer_t *
147 ns_printer_t *printer = NULL;
163 printer = (ns_printer_t *)ns_printer_create(
H A Dnss_write.c91 _file_put_printer(const char *file, const ns_printer_t *printer)
156 (void) _cvt_printer_to_entry((ns_printer_t *)printer,
161 ns_printer_t *tmp = (ns_printer_t *)
198 files_put_printer(const ns_printer_t *printer)
246 nis_put_printer(const ns_printer_t *printer)
H A Dns_bsd_addr.c150 internal_list_to_string(const ns_printer_t **list)
249 * on their own. These "complete" names are converted into a ns_printer_t
259 ns_printer_t *
262 ns_printer_t *printer = NULL;
388 ns_printer_t *printer;
430 ns_printer_t **printers;
519 ns_printer_t *printer;
H A Dnss_ldap.c196 * Input: const ns_printer_t *printer
218 ldap_put_printer(const ns_printer_t *printer)
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DNS.c261 typedef struct ns_printer ns_printer_t; typedef in typeref:struct:ns_printer
263 extern ns_printer_t *ns_printer_get_name(const char *, const char *);
264 extern int ns_printer_put(const ns_printer_t *);
265 extern char *ns_get_value_string(const char *, const ns_printer_t *);
266 extern int ns_set_value(const char *, const void *, ns_printer_t *);
268 ns_printer_t *);
272 extern void ns_printer_destroy(ns_printer_t *);
283 ns_printer_t *printer;
308 if ((printer = (ns_printer_t *)
320 if ((printer = (ns_printer_t *)
[all...]
/illumos-gate/usr/src/cmd/print/lpget/
H A Dlpget.c73 display_value(ns_printer_t *printer, char *name, char **keys)
160 ns_printer_t **printers = ns_printer_get_list(ns);
/illumos-gate/usr/src/cmd/print/lpset/
H A Dlpset.c116 ns_printer_t *printer_obj = NULL;

Completed in 70 milliseconds