edits
[iotcloud.git] / version2 / src / C / Slot.h
old mode 100644 (file)
new mode 100755 (executable)
index d00cf4e..5de0818
@@ -17,8 +17,8 @@ private:
        Array<char> *hmac;
        /** Machine that sent this slot. */
        int64_t machineid;
-       /** Vector of entries in this slot. */
-       Vector<Entry *> *entries;
+       /** MyVector of entries in this slot. */
+       MyVector<Entry *> *entries;
        /** Pieces of information that are live. */
        int livecount;
        /** Flag that indicates whether this slot is still live for
@@ -43,10 +43,10 @@ public:
        Entry *addEntry(Entry *e);
        void addShallowEntry(Entry *e);
        bool hasSpace(Entry *e);
-       Vector<Entry *> *getEntries();
+       MyVector<Entry *> *getEntries();
        Array<char> *encode(Mac *mac);
        int getBaseSize() { return 2 * HMAC_SIZE + 2 * sizeof(int64_t) + sizeof(int); }
-       Vector<Entry *> *getLiveEntries(bool resize);
+       MyVector<Entry *> *getLiveEntries(bool resize);
        int64_t getSequenceNumber() { return seqnum; }
        int64_t getMachineID() { return machineid; }
        void setDead();