| 124 | /****************************** SETTERS ********************************/ |
| 125 | |
| 126 | static inline void context_put_int(enum osips_context type, context_p ctx, |
| 127 | int pos, int data) |
| 128 | { |
| 129 | #ifdef DBG_MALLOC |
| 130 | if (pos < 0 || pos >= type_sizes[type][CONTEXT_INT_TYPE]) { |
| 131 | LM_CRIT("Bad pos: %d (%d)\n", pos, type_sizes[type][CONTEXT_INT_TYPE]); |
| 132 | abort(); |
| 133 | } |
| 134 | #endif |
| 135 | |
| 136 | ((int *)ctx)[pos] = data; |
| 137 | } |
| 138 | |
| 139 | static inline void context_put_str(enum osips_context type, context_p ctx, |
| 140 | int pos, str *data) |
no outgoing calls
no test coverage detected