[PVFS2-CVS] commit by bradles in pvfs2/src/proto: PINT-le-bytefield.c pvfs2-attr.h pvfs2-req-proto.h

CVS commit program cvs at parl.clemson.edu
Mon May 17 12:57:33 EDT 2004


Update of /projects/cvsroot/pvfs2/src/proto
In directory styx.parl.clemson.edu:/tmp/cvs-serv15311/proto

Modified Files:
	PINT-le-bytefield.c pvfs2-attr.h pvfs2-req-proto.h 
Log Message:
Updates for distribution renamings.


Index: PINT-le-bytefield.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/proto/PINT-le-bytefield.c,v
diff -p -u -r1.22 -r1.23
--- PINT-le-bytefield.c	13 May 2004 14:47:23 -0000	1.22
+++ PINT-le-bytefield.c	17 May 2004 15:57:33 -0000	1.23
@@ -21,7 +21,7 @@
 #include "PINT-reqproto-encode.h"
 #include "PINT-reqproto-module.h"
 #include "src/io/description/pint-request.h"  /* for PINT_Request */
-#include "src/io/description/pint-distribution.h"  /* for PINT_Dist_lookup */
+#include "src/io/description/pint-distribution.h"  /* for PINT_dist_lookup */
 
 /* defined later */
 PINT_encoding_table_values le_bytefield_table;
@@ -64,7 +64,7 @@ static void lebf_initialize(void)
      */
     memset(&tmp_dist, 0, sizeof(tmp_dist));
     tmp_dist.dist_name = strdup(PVFS_DIST_BASIC_NAME);
-    if (PINT_Dist_lookup(&tmp_dist)) {
+    if (PINT_dist_lookup(&tmp_dist)) {
 	gossip_err("%s: dist %s does not exist?!?\n",
 	  __func__, tmp_dist.dist_name);
 	exit(1);

Index: pvfs2-attr.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/proto/pvfs2-attr.h,v
diff -p -u -r1.27 -r1.28
--- pvfs2-attr.h	13 May 2004 14:47:23 -0000	1.27
+++ pvfs2-attr.h	17 May 2004 15:57:33 -0000	1.28
@@ -9,7 +9,7 @@
 
 #include "pvfs2-types.h"
 #include "pvfs2-storage.h"
-#include "pvfs-distribution.h"
+#include "pint-distribution.h"
 
 /* attributes specific to metadata objects */
 struct PVFS_metafile_attr_s
@@ -25,10 +25,10 @@ struct PVFS_metafile_attr_s
 typedef struct PVFS_metafile_attr_s PVFS_metafile_attr;
 #ifdef __PINT_REQPROTO_ENCODE_FUNCS_C
 #define encode_PVFS_metafile_attr_dist(pptr,x) do { \
-    encode_PVFS_Dist(pptr, &(x)->dist); \
+    encode_PINT_dist(pptr, &(x)->dist); \
 } while (0)
 #define decode_PVFS_metafile_attr_dist(pptr,x) do { \
-    decode_PVFS_Dist(pptr, &(x)->dist); \
+    decode_PINT_dist(pptr, &(x)->dist); \
     (x)->dist_size = PINT_DIST_PACK_SIZE((x)->dist); \
 } while (0)
 #define encode_PVFS_metafile_attr_dfiles(pptr,x) do { int dfiles_i; \

Index: pvfs2-req-proto.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/proto/pvfs2-req-proto.h,v
diff -p -u -r1.109 -r1.110
--- pvfs2-req-proto.h	13 May 2004 14:47:23 -0000	1.109
+++ pvfs2-req-proto.h	17 May 2004 15:57:33 -0000	1.110
@@ -10,7 +10,7 @@
 #include "pvfs2-config.h"
 #include "pvfs2-types.h"
 #include "pvfs2-attr.h"
-#include "pvfs-distribution.h"
+#include "pint-distribution.h"
 #include "pvfs2-request.h"
 #include "pvfs2-mgmt.h"
 
@@ -679,7 +679,7 @@ struct PVFS_servreq_io
     encode_enum(pptr, &(x)->flow_type); \
     encode_uint32_t(pptr, &(x)->server_nr); \
     encode_uint32_t(pptr, &(x)->server_ct); \
-    encode_PVFS_Dist(pptr, &(x)->io_dist); \
+    encode_PINT_dist(pptr, &(x)->io_dist); \
     { \
     /* XXX: This linearizes into a fresh buffer, encodes, then throws
      * it away; later fix the structure so that it is easier to
@@ -706,7 +706,7 @@ struct PVFS_servreq_io
     decode_enum(pptr, &(x)->flow_type); \
     decode_uint32_t(pptr, &(x)->server_nr); \
     decode_uint32_t(pptr, &(x)->server_ct); \
-    decode_PVFS_Dist(pptr, &(x)->io_dist); \
+    decode_PINT_dist(pptr, &(x)->io_dist); \
     decode_int32_t(pptr, &numreq); \
     (x)->file_req = decode_malloc((numreq + 1) * sizeof(*(x)->file_req)); \
     (x)->file_req->num_nested_req = numreq; \



More information about the PVFS2-CVS mailing list