| 6074 | } |
| 6075 | |
| 6076 | static pv_context_t* pv_get_context(const str* name) |
| 6077 | { |
| 6078 | pv_context_t* pvc = pv_context_lst; |
| 6079 | |
| 6080 | while(pvc) |
| 6081 | { |
| 6082 | if(pvc->name.len == name->len && |
| 6083 | strncmp(pvc->name.s, name->s, name->len) == 0) |
| 6084 | { |
| 6085 | return pvc; |
| 6086 | } |
| 6087 | pvc = pvc->next; |
| 6088 | } |
| 6089 | return 0; |
| 6090 | } |
| 6091 | |
| 6092 | static int pv_contextlist_check(void) |
| 6093 | { |
no outgoing calls
no test coverage detected