aboutsummaryrefslogtreecommitdiff
path: root/printutils/lpr.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-22 22:24:48 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-22 22:24:48 +0000
commit68444b9f0c74e94d219fa40bb4109b4aa2fdd43b (patch)
tree34b1c0d65ac46498b81df8badd85f9daa0baed33 /printutils/lpr.h
parent6aa74fcf5bc5f6b209b578754fc098714bc8485d (diff)
downloadbusybox-68444b9f0c74e94d219fa40bb4109b4aa2fdd43b.tar.gz
lpr and lpq applets by Walter Harms.
text data bss dec hex filename 392 0 0 392 188 lpq.o 1378 0 0 1378 562 lpr.o 142 0 0 142 8e parse_prt.o
Diffstat (limited to 'printutils/lpr.h')
-rw-r--r--printutils/lpr.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/printutils/lpr.h b/printutils/lpr.h
new file mode 100644
index 000000000..8898b982f
--- /dev/null
+++ b/printutils/lpr.h
@@ -0,0 +1,17 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * Copyright 2008 Walter Harms (WHarms@bfs.de)
+ *
+ * Licensed under the GPL v2, see the file LICENSE in this tarball.
+ */
+#ifndef _LPR_H_
+#define _LPR_H_
+
+struct netprint {
+ char *queue;
+ char *server;
+ struct len_and_sockaddr *lsa;
+};
+
+void parse_prt(const char *buf, struct netprint *netprint);
+#endif