renamed the harness program to vluke (for "virtual luke")
authorAndrew Tridgell <tridge@samba.org>
Fri, 12 May 2000 14:35:15 +0000 (14:35 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 12 May 2000 14:35:15 +0000 (14:35 +0000)
added a couple of sample .prs files
(This used to be commit 70f68209dae0fb94196a30e7404a9ed5bdc2286c)

source3/aparser/Makefile
source3/aparser/spool_io_printer_driver_info_level_3.prs [new file with mode: 0644]
source3/aparser/spool_io_printer_driver_info_level_6.prs [new file with mode: 0644]
source3/aparser/test.struct
source3/aparser/vluke.c

index d08807109097ac390fd2afefe7c8f589056ed2b5..e74e99de18f3591ffb176d8f53fe84c73707caf1 100644 (file)
@@ -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 (file)
index 0000000..baa32ef
Binary files /dev/null and b/source3/aparser/spool_io_printer_driver_info_level_3.prs 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 (file)
index 0000000..3c5a47e
Binary files /dev/null and b/source3/aparser/spool_io_printer_driver_info_level_6.prs differ
index 1f5c5b6519667801f7819abc28cc77cc092a906b..7e1d67c64799d4040fb6096ef9875859fe057eb1 100644 (file)
@@ -1,5 +1,5 @@
 module spool
-test PRINTER_DRIVER_INFO
+test PRINTER_DRIVER_INFO_LEVEL_6
 
 struct PRINTER_DRIVER_INFO_LEVEL_3 {
        uint32 cversion;
index 5e143016be42ca347ef77a22198b3005fbb806e7..fb7cc36b888cb076e1e0b852b97b0f53e28bac30 100644 (file)
@@ -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);
        }