rem: add_string(event_package_name[EVENT_PRESENCE], strlen(event_package_name[EVENT_PRESENCE]));
add: add_string(package, strlen(package));
context: int winfo_start_resource(str* _b, int _l, str* _uri, watcher_t *watcher){	str strs[10];	int n_strs = 0;	int i;	int len = 0;	add_string(WATCHERLIST_START, WATCHERLIST_START_L);	add_pstr(_uri);	add_string(PACKAGE_START, PACKAGE_START_L);/*	add_string(event_package_name[watcher->event_package], strlen(event_package_name[watcher->event_package]));*/	add_string(event_package_name[EVENT_PRESENCE], strlen(event_package_name[EVENT_PRESENCE])); /* FIXME */	add_string(PACKAGE_END, PACKAGE_END_L);	add_string(CRLF, CRLF_L);	if (_l < len) {		paerrno = PA_SMALL_BUFFER;		LOG(L_ERR, "winfo_add_resource(): Buffer too small\n");		return -1;	}	for (i = 0; i < n_strs; i++)		str_append(_b, strs[i].s, strs[i].len);	return 0;}