libpri
public c v1 · immutable if (comp->type) { switch (comp->type) { case ROSE_NAME_PRESENTATION_ALLOWED_SIMPLE: memcpy(call->callername, comp->data, comp->len); call->callername[comp->len] = 0; return 0; default: pri_message("Do not handle argument of type 0x%X\n", comp->type); return -1; } } else return -1;