edits
[iotcloud.git] / version2 / src / C / common.h
index 7973b6b3c453ba98c7d8c9d2a345dc9da4715ae5..e7b4acd17aec6f61718fd91784f3fe1c2f43aecc 100644 (file)
@@ -5,12 +5,12 @@ typedef uint32_t uint;
 #define CMEMALLOC ;
 #define model_print printf
 #define ASSERT(expr) \
-       do {                                                                                             \
-               if (!(expr)) {                                                                                                                                                                                                                  \
+       do {                         \
+               if (!(expr)) {                                                      \
                        fprintf(stderr, "Error: assertion failed in %s at line %d\n", __FILE__, __LINE__); \
                        /* print_trace(); // Trace printing may cause dynamic memory allocation */ \
-                       exit(EXIT_FAILURE);                                                                                                                                                                                             \
-               }                                                                                                                                                                                                                                                                               \
+                       exit(EXIT_FAILURE);                                               \
+               }                                                                   \
        } while (0)
 
 #include "hashset.h"
@@ -39,14 +39,22 @@ class SlotBuffer;
 class SlotIndexer;
 class Table;
 class TableStatus;
-class ThreeTuple;
 class TimingSingleton;
 class Transaction;
 class TransactionPart;
 class TransactionStatus;
-class Mac;
 class Error;
+class Exception;
+class ServerException;
 
-
-
+//Code to write
+class SecretKeySpec;
+class PBEKeySpec;
+class SecretKey;
+class Mac;
+class SecureRandom;
+class Thread;
+class DataInputStream;
+class URL;
+class Random;
 #endif