Commit 874655c0 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Get the rest of the stuff in there too.

parent 1c2a1b34
......@@ -29,6 +29,8 @@
#include "config.h"
#include "vapi/vsm_int.h"
#include <stdio.h>
#include <stdlib.h>
......@@ -40,7 +42,6 @@
#include "cache.h"
#include "vsm.h"
#include "cache_backend.h"
#include "cache_waiter.h"
#include "vcl.h"
......
......@@ -29,11 +29,13 @@
#include "config.h"
#include <stdio.h>
#include "cache.h"
#include "vapi/vsm_int.h"
#include "vmb.h"
#include "vsm.h"
#include "vtim.h"
/* These cannot be struct lock, which depends on vsm/vsl working */
......
......@@ -43,7 +43,7 @@
#include <sys/wait.h>
#include "mgt.h"
#include "vsm.h"
#include "vapi/vsm_int.h"
#include "heritage.h"
#include "vcli.h"
#include "cli_priv.h"
......
......@@ -101,7 +101,7 @@
#include "mgt.h"
#include "heritage.h"
#include "vmb.h"
#include "vsm.h"
#include "vapi/vsm_int.h"
#include "vav.h"
#include "vnum.h"
#include "flopen.h"
......
......@@ -55,7 +55,7 @@
#include "common.h"
#include "vmb.h"
#include "vsm.h"
#include "vapi/vsm_int.h"
#include "vtim.h"
/* These two come from beyond (mgt_shmem.c actually) */
......
......@@ -16,12 +16,12 @@ pkginclude_HEADERS = \
tbl/vsc_fields.h \
tbl/vsl_tags.h \
vapi/vsm.h \
vapi/vsm_int.h \
vapi/vsc.h \
vapi/vsc_int.h \
vapi/vsl.h \
vapi/vsl_int.h \
vcli.h \
vsm.h
vcli.h
nobase_noinst_HEADERS = \
binary_heap.h \
......
......@@ -31,13 +31,12 @@
* NB: THIS IS NOT A PUBLIC API TO VARNISH!
*/
#ifndef VSM_H_INCLUDED
#define VSM_H_INCLUDED
#ifndef VSM_INT_H_INCLUDED
#define VSM_INT_H_INCLUDED
#define VSM_FILENAME "_.vsm"
#include <time.h>
#include <sys/types.h>
#include <stdint.h>
/*
* This structure describes each allocation from the shmlog
......@@ -62,9 +61,9 @@ struct VSM_head {
unsigned hdrsize;
time_t starttime;
pid_t master_pid;
pid_t child_pid;
uint64_t starttime;
int64_t master_pid;
int64_t child_pid;
unsigned shm_size;
......@@ -107,6 +106,10 @@ vsm_iter_n(struct VSM_chunk **pp)
#define VSM_ITER(vd) for ((vd) = vsm_iter_0(); (vd) != NULL; vsm_iter_n(&vd))
#else
#define VSM_ITER(vd) while (YOU_NEED_MINIOBJ_TO_USE_VSM_ITER)
#endif /* CHECK_OBJ_NOTNULL */
#endif
#endif /* VSM_INT_H_INCLUDED */
......@@ -30,6 +30,8 @@
#include "config.h"
#include "vapi/vsm_int.h"
#include <errno.h>
#include <limits.h>
#include <stdio.h>
......@@ -39,7 +41,6 @@
#include "vas.h"
#include "vdef.h"
#include "vin.h"
#include "vsm.h"
int
VIN_N_Arg(const char *n_arg, char **name, char **dir, char **vsl)
......
......@@ -30,6 +30,7 @@
#include "config.h"
#include "vapi/vsm.h"
#include "vapi/vsm_int.h"
#include "vapi/vsc.h"
#include <sys/types.h>
......@@ -39,7 +40,6 @@
#include "vas.h"
#include "vav.h"
#include "vsm.h"
#include "vqueue.h"
#include "miniobj.h"
......
......@@ -30,6 +30,7 @@
#include "config.h"
#include "vapi/vsm.h"
#include "vapi/vsm_int.h"
#include "vapi/vsl.h"
#include <sys/types.h>
......@@ -41,7 +42,6 @@
#include <unistd.h>
#include "vas.h"
#include "vsm.h"
#include "vre.h"
#include "vbm.h"
#include "miniobj.h"
......
......@@ -30,6 +30,7 @@
#include "config.h"
#include "vapi/vsm.h"
#include "vapi/vsm_int.h"
#include <stdint.h>
#include <sys/types.h>
......@@ -45,7 +46,6 @@
#include "vas.h"
#include "vin.h"
#include "vsm.h"
#include "vbm.h"
#include "miniobj.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