| 58 | static event_id_t janus_notify_event = EVI_ERROR; |
| 59 | |
| 60 | void janus_brief_parse_msg(struct janus_req *r) |
| 61 | { |
| 62 | cJSON *obj=NULL; |
| 63 | char *parse_end; |
| 64 | |
| 65 | obj = cJSON_ParseWithOpts(r->buf,(const char **)&parse_end,0); |
| 66 | if (obj == NULL) { |
| 67 | LM_ERR("NO parse :( \n"); |
| 68 | } else { |
| 69 | r->complete=1; |
| 70 | r->body = obj; |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | int janus_register_event(void) |
| 75 | { |
no test coverage detected