summaryrefslogtreecommitdiff
path: root/libstore/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'libstore/create.c')
-rw-r--r--libstore/create.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libstore/create.c b/libstore/create.c
index 8c288bc9..5e681859 100644
--- a/libstore/create.c
+++ b/libstore/create.c
@@ -24,6 +24,16 @@
#include "store.h"
+static error_t
+fgsi (file_t source,
+ mach_port_t **ports, mach_msg_type_number_t *num_ports,
+ int **ints, mach_msg_type_number_t *num_ints,
+ off_t **offsets, mach_msg_type_number_t *num_offsets,
+ char **data, mach_msg_type_number_t *num_data)
+{
+ return EOPNOTSUPP;
+}
+
/* Return a new store in STORE, which refers to the storage underlying
SOURCE. A reference to SOURCE is created (but may be destroyed with
store_close_source). */
@@ -39,6 +49,7 @@ error_t store_create (file_t source, struct store **store)
store_enc_init (&enc, inline_ports, 10, inline_ints, 60,
inline_offsets, 60, inline_data, 100);
+#define file_get_storage_info fgsi /* XXX */
err = file_get_storage_info (source,
&enc.ports, &enc.num_ports,
&enc.ints, &enc.num_ints,