////////////////////////////////////////////////////////////////////// // // Status codes for the doubly linked list implementation // #define DLL_SUCCESS 0x0000000000010000 #define DLL_MALLOC_FAIL 0x0000000000020000 #define DLL_ALREADY_ALLOC 0x0000000000040000 #define DLL_NULL 0x0000000000080000 #define DLL_ERROR 0x0000000000100000 #define DLL_EMPTY 0x0000000000200000 #define DLL_INVALID 0x0000000000400000 #define DLL_DEFAULT_FAIL 0x0000000000800000 ////////////////////////////////////////////////////////////////////// // // Options for list display() and support catlist() functions // #define DISPLAY_FORWARD 000 #define DISPLAY_NOPOSVALS 000 #define DISPLAY_POSVALS 001 #define DISPLAY_BACKWARD 002