Fixing initialization to just create a table on the cloud side.
[iotcloud.git] / version2 / src / C / TableStatus.cpp
1 #include "TableStatus.h"
2 #include "ByteBuffer.h"
3
4 Entry *TableStatus_decode(Slot *slot, ByteBuffer *bb) {
5         int maxslots = bb->getInt();
6         return new TableStatus(slot, maxslots);
7 }
8
9 void TableStatus::encode(ByteBuffer *bb) {
10         bb->put(TypeTableStatus);
11         bb->putInt(maxslots);
12 }