start of new file
[IRC.git] / Robust / src / Runtime / DSTM / interface / plookup.h
index e35c451b3b2fd67b02487b0bf646774df5f59c14..4d15b4a761aa6efdb7dd2e6838b6d4e6cc5fdefd 100644 (file)
@@ -3,25 +3,23 @@
 
 #include <stdlib.h>
 #include <stdio.h>
-#include "dstm.h"
 
 /* This structure is created using a transaction record.
  * It is filled out with pile information necessary for 
  * participants involved in a transaction. */
 typedef struct plistnode {
        unsigned int mid;
-       int local;              /* Variable that keeps track if this pile is for LOCAL machine */
-       unsigned int *oidmod;   /* Pointer to array containing oids of modified objects */ 
-       unsigned int *oidread;  /* TODO: REMOVE THIS Pointer to array of objects read */
-       int nummod;             /* no of objects read */
-       int numread;            /* no of objects modified */
+       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);
-plistnode_t *pInsert(plistnode_t *pile, objheader_t *headeraddr, unsigned int mid, int num_objs);
 int pCount(plistnode_t *pile);
 int pListMid(plistnode_t *pile, unsigned int *list);
 void pDelete(plistnode_t *pile);