rem: case DLG_NEW:       printf("DLG_NEW");       break; case DLG_EARLY:     printf("DLG_EARLY");     break; case DLG_CONFIRMED: printf("DLG_CONFIRMED"); break; case DLG_DESTROYED: printf("DLG_DESTROYED"); break;
add: case DLG_NEW:       fprintf(out, "DLG_NEW\n");       break; case DLG_EARLY:     fprintf(out, "DLG_EARLY\n");     break; case DLG_CONFIRMED: fprintf(out, "DLG_CONFIRMED\n"); break; case DLG_DESTROYED: fprintf(out, "DLG_DESTROYED\n"); break;
context: void print_dlg(dlg_t* _d){	printf("====dlg_t===\n");	printf("id.call_id    : '%.*s'\n", _d->id.call_id.len, _d->id.call_id.s);	printf("id.rem_tag    : '%.*s'\n", _d->id.rem_tag.len, _d->id.rem_tag.s);	printf("id.loc_tag    : '%.*s'\n", _d->id.loc_tag.len, _d->id.loc_tag.s);	printf("loc_seq.value : %d\n", _d->loc_seq.value);	printf("loc_seq.is_set: %s\n", _d->loc_seq.is_set ? "YES" : "NO");	printf("rem_seq.value : %d\n", _d->rem_seq.value);	printf("rem_seq.is_set: %s\n", _d->rem_seq.is_set ? "YES" : "NO");	printf("loc_uri       : '%.*s'\n", _d->loc_uri.len, _d->loc_uri.s);	printf("rem_uri       : '%.*s'\n", _d->rem_uri.len, _d->rem_uri.s);	printf("rem_target    : '%.*s'\n", _d->rem_target.len, _d->rem_target.s);	printf("secure:       : %d\n", _d->secure);	printf("state         : ");	switch(_d->state) {	case DLG_NEW:       printf("DLG_NEW");       break;	case DLG_EARLY:     printf("DLG_EARLY");     break;	case DLG_CONFIRMED: printf("DLG_CONFIRMED"); break;	case DLG_DESTROYED: printf("DLG_DESTROYED"); break;	}		print_rr(_d->route_set);	printf("====dlg_t====\n");}