35 #ifdef __cplusplus |
35 #ifdef __cplusplus |
36 extern "C" { |
36 extern "C" { |
37 #endif |
37 #endif |
38 |
38 |
39 // TODO: Enum auslagern in andere Datei? |
39 // TODO: Enum auslagern in andere Datei? |
40 enum RequestPhase { |
40 enum RequestStage { |
41 NSAPIAuthTrans = 0, |
41 NSAPIAuthTrans = 0, |
42 NSAPINameTrans, |
42 NSAPINameTrans, |
43 NSAPIPathCheck, |
43 NSAPIPathCheck, |
44 NSAPIObjectType, |
44 NSAPIObjectType, |
45 NSAPIService, |
45 NSAPIService, |
46 NSAPIError, |
46 NSAPIError, |
47 NSAPIAddLog, |
47 NSAPIAddLog, |
48 REQ_FINISH, |
48 REQ_FINISH, |
49 NUM_NSAPI_TYPES |
49 NUM_NSAPI_TYPES |
50 }; |
50 }; |
51 typedef enum RequestPhase RequestPhase; |
51 typedef enum RequestStage RequestStage; |
52 |
52 |
53 typedef struct Condition Condition; |
53 typedef struct Condition Condition; |
54 typedef int8_t ConditionResult; |
54 typedef int8_t ConditionResult; |
55 typedef struct Expression Expression; |
55 typedef struct Expression Expression; |
56 typedef enum OperandType OperandType; |
56 typedef enum OperandType OperandType; |