better names for headers imported from vmods

to avoid conflicts with the original files when -I includes the original
sources.
parent 84fe1d4b
......@@ -40,8 +40,8 @@ vmod_*.rst
vmod_*.3
# extracted headers
src/vmod_blob.h
src/vmod_blobdigest.h
src/import_vmod_blob.h
src/import_vmod_blobdigest.h
# header extractor
src/vmod_get_h
......@@ -20,12 +20,12 @@ TESTS = \
# ext vmods
if CHKSUM
vmod_blob.h: vmod_get_h $(VMOD_BLOB)
import_vmod_blob.h: vmod_get_h $(VMOD_BLOB)
$(builddir)/vmod_get_h blob $(VMOD_BLOB) >$@
vmod_blobdigest.h: vmod_get_h $(VMOD_BLOBDIGEST)
import_vmod_blobdigest.h: vmod_get_h $(VMOD_BLOBDIGEST)
$(builddir)/vmod_get_h blobdigest $(VMOD_BLOBDIGEST) >$@
libvmod_tus_la_SOURCES = tus_blob.c
tus_blob.c: vmod_blob.h vmod_blobdigest.h
tus_blob.c: import_vmod_blob.h import_vmod_blobdigest.h
TESTS += \
vtc/chksum/plain.vtc \
vtc/chksum/name_hash.vtc \
......
......@@ -36,8 +36,8 @@
#include "cache/cache.h"
#include "vsb.h"
#include "vmod_blob.h"
#include "vmod_blobdigest.h"
#include "import_vmod_blob.h"
#include "import_vmod_blobdigest.h"
#include "tus_b64.h"
#include "tus_blob.h"
#include "tus_checksums.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment