2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
|
switch(typeId){
case CFTYPE_MANIFEST: return "checkin";
case CFTYPE_CLUSTER: return "cluster";
case CFTYPE_CONTROL: return "tag";
case CFTYPE_WIKI: return "wiki";
case CFTYPE_TICKET: return "ticket";
case CFTYPE_ATTACHMENT: return "attachment";
case CFTYPE_EVENT: return "event";
case CFTYPE_FORUM: return "forumpost";
}
return NULL;
}
/*
** Creates a JSON representation of p, appending it to b.
|
|
|
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
|
switch(typeId){
case CFTYPE_MANIFEST: return "checkin";
case CFTYPE_CLUSTER: return "cluster";
case CFTYPE_CONTROL: return "tag";
case CFTYPE_WIKI: return "wiki";
case CFTYPE_TICKET: return "ticket";
case CFTYPE_ATTACHMENT: return "attachment";
case CFTYPE_EVENT: return "technote";
case CFTYPE_FORUM: return "forumpost";
}
return NULL;
}
/*
** Creates a JSON representation of p, appending it to b.
|