summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-12 14:35:15 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-12 14:35:15 +0000
commitfeb3afbb91bd9a51256e1eb1d70c12b5278b481e (patch)
tree7f8bd2fe090cdf18c15c6f20bb56978b733922d9
parent059956376897b3fee0d019b8f5e27ac3b84acb5d (diff)
downloadsamba-feb3afbb91bd9a51256e1eb1d70c12b5278b481e.tar.gz
samba-feb3afbb91bd9a51256e1eb1d70c12b5278b481e.tar.bz2
samba-feb3afbb91bd9a51256e1eb1d70c12b5278b481e.zip
renamed the harness program to vluke (for "virtual luke")
added a couple of sample .prs files (This used to be commit 70f68209dae0fb94196a30e7404a9ed5bdc2286c)
-rw-r--r--source3/aparser/Makefile12
-rw-r--r--source3/aparser/spool_io_printer_driver_info_level_3.prsbin0 -> 5636 bytes
-rw-r--r--source3/aparser/spool_io_printer_driver_info_level_6.prsbin0 -> 5636 bytes
-rw-r--r--source3/aparser/test.struct2
-rw-r--r--source3/aparser/vluke.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/source3/aparser/Makefile b/source3/aparser/Makefile
index d088071090..e74e99de18 100644
--- a/source3/aparser/Makefile
+++ b/source3/aparser/Makefile
@@ -4,17 +4,17 @@ CC=gcc
%.h : %.struct
igawk -f parser.awk < $*.struct > $*.h
-OBJ = harness.o parser.o
+OBJ = vluke.o parser.o
-all: test.h harness
+all: test.h vluke
test.h : test.struct
-harness: test.h $(OBJ)
- $(CC) $(CFLAGS) -o harness $(OBJ)
+vluke: test.h $(OBJ)
+ $(CC) $(CFLAGS) -o vluke $(OBJ)
clean:
rm -f *.o test.h
-test: harness
- ./harness test.dat > test.out
+test: vluke
+ ./vluke test.dat > test.out
diff --git a/source3/aparser/spool_io_printer_driver_info_level_3.prs b/source3/aparser/spool_io_printer_driver_info_level_3.prs
new file mode 100644
index 0000000000..baa32ef7c7
--- /dev/null
+++ b/source3/aparser/spool_io_printer_driver_info_level_3.prs
Binary files differ
diff --git a/source3/aparser/spool_io_printer_driver_info_level_6.prs b/source3/aparser/spool_io_printer_driver_info_level_6.prs
new file mode 100644
index 0000000000..3c5a47e7a3
--- /dev/null
+++ b/source3/aparser/spool_io_printer_driver_info_level_6.prs
Binary files differ
diff --git a/source3/aparser/test.struct b/source3/aparser/test.struct
index 1f5c5b6519..7e1d67c647 100644
--- a/source3/aparser/test.struct
+++ b/source3/aparser/test.struct
@@ -1,5 +1,5 @@
module spool
-test PRINTER_DRIVER_INFO
+test PRINTER_DRIVER_INFO_LEVEL_6
struct PRINTER_DRIVER_INFO_LEVEL_3 {
uint32 cversion;
diff --git a/source3/aparser/vluke.c b/source3/aparser/vluke.c
index 5e143016be..fb7cc36b88 100644
--- a/source3/aparser/vluke.c
+++ b/source3/aparser/vluke.c
@@ -19,7 +19,7 @@ int main(int argc, char *argv[])
prs_struct ps;
if (argc < 2) {
- printf("usage: harness <file>\n");
+ printf("usage: vluke <file>\n");
exit(1);
}