[PVFS2-CVS] commit by bradles in pvfs2/src/client/sysint: sys-dist.c module.mk.in

CVS commit program cvs at parl.clemson.edu
Thu May 6 15:35:43 EDT 2004


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory styx.parl.clemson.edu:/tmp/cvs-serv4990/src/client/sysint

Modified Files:
	module.mk.in 
Added Files:
	sys-dist.c 
Log Message:
Adding interface and stubs to expose distribution interface to clients.


--- /dev/null	2003-01-30 05:24:37.000000000 -0500
+++ sys-dist.c	2004-05-06 14:35:43.000000000 -0400
@@ -0,0 +1,46 @@
+/* 
+ * (C) 2003 Clemson University and The University of Chicago 
+ *
+ * See COPYING in top-level directory.
+ */
+#include <stdlib.h>
+#include "pvfs2-sysint.h"
+
+/**
+ * Return the distribution associated with the given identifier, or null
+ * if none exists
+ */
+PVFS_sys_dist* PVFS_sys_dist_lookup(const char* dist_identifier)
+{
+    return 0;
+}
+
+/**
+ * Free resources associated with this distribution
+ */
+int PVFS_sys_dist_free(PVFS_sys_dist* dist)
+{
+    free(dist);
+    return 0;
+}
+
+/**
+ * Set the named distribution parameter with the given value
+ */
+int PVFS_sys_dist_setparam(
+    PVFS_sys_dist* dist,
+    const char* param,
+    void* value)
+{
+    return 0;
+}
+
+/*
+ * Local variables:
+ *  mode: c
+ *  c-indent-level: 4
+ *  c-basic-offset: 4
+ * End:
+ *
+ * vim: ft=c ts=8 sts=4 sw=4 noexpandtab
+ */

Index: module.mk.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/module.mk.in,v
diff -p -u -r1.66 -r1.67
--- module.mk.in	29 Apr 2004 15:50:40 -0000	1.66
+++ module.mk.in	6 May 2004 18:35:43 -0000	1.67
@@ -11,6 +11,7 @@ CSRC := \
 	$(DIR)/client-state-machine.c \
 	$(DIR)/shared-state-methods.c \
 	$(DIR)/mgmt-misc.c \
+	$(DIR)/sys-dist.c \
 	$(DIR)/sys-statfs.c \
 	$(DIR)/error-details.c \
 	$(DIR)/fs-add.c



More information about the PVFS2-CVS mailing list