8 /* This structure is created using a transaction record.
9 * It is filled out with pile information necessary for
10 * participants involved in a transaction. */
11 typedef struct plistnode {
13 unsigned int numread; /* no of objects modified */
14 unsigned int nummod; /* no of objects read */
15 unsigned int numcreated; /* no of objects created */
16 int sum_bytes; /* total bytes of objects modified */
17 char *objread; /* Pointer to array containing oids of objects read and their version numbers*/
18 unsigned int *oidmod; /* Pointer to array containing oids of modified objects */
19 unsigned int *oidcreated; /* Pointer to array containing oids of newly created objects */
20 struct plistnode *next;
23 plistnode_t *pCreate(int);
24 plistnode_t *pInsert(plistnode_t *pile, objheader_t *headeraddr, unsigned int mid, int num_objs);
25 int pCount(plistnode_t *pile);
26 int pListMid(plistnode_t *pile, unsigned int *list);
27 void pDelete(plistnode_t *pile);