#include <stdio.h>
/* This structure is created using a transaction record.
- * It is filled out with pile information necessary for
+ * It is filled out with pile information necessary for
* participants involved in a transaction. */
typedef struct plistnode {
- unsigned int mid;
- unsigned int numread; /* no of objects modified */
- unsigned int nummod; /* no of objects read */
- unsigned int numcreated; /* no of objects created */
- int sum_bytes; /* total bytes of objects modified */
- char *objread; /* Pointer to array containing oids of objects read and their version numbers*/
- unsigned int *oidmod; /* Pointer to array containing oids of modified objects */
- unsigned int *oidcreated; /* Pointer to array containing oids of newly created objects */
- struct plistnode *next;
+ unsigned int mid;
+ unsigned int numread; /* no of objects modified */
+ unsigned int nummod; /* no of objects read */
+ unsigned int numcreated; /* no of objects created */
+ int sum_bytes; /* total bytes of objects modified */
+ char *objread; /* Pointer to array containing oids of objects read and their version numbers*/
+ unsigned int *oidmod; /* Pointer to array containing oids of modified objects */
+ unsigned int *oidcreated; /* Pointer to array containing oids of newly created objects */
+ struct plistnode *next;
} plistnode_t;
plistnode_t *pCreate(int);