add: *param=(void*)twi;
context: int fixup_t_write( void** param, int param_no){	struct tw_info *twi;	char *s;	if (param_no==2) {		twi = (struct tw_info*)pkg_malloc( sizeof(struct tw_info) );		if (twi==0) {			LOG(L_ERR,"ERROR:tm:fixup_t_write: no more pkg memory\n");			return E_OUT_OF_MEM;		}		memset( twi, 0 , sizeof(struct tw_info));		s = (char*)*param;		twi->action.s = s;		if ( (s=strchr(s,'/'))!=0) {			twi->action.len = s - twi->action.s;			if (twi->action.len==0) {				LOG(L_ERR,"ERROR:tm:fixup_t_write: empty action name\n");				return E_CFG;			}			s++;			if (*s==0) {				LOG(L_ERR,"ERROR:tm:fixup_t_write: empty append name\n");				return E_CFG;			}			twi->append = search_tw_append( s, strlen(s));			if (twi->append==0) {				LOG(L_ERR,"ERROR:tm:fixup_t_write: unknown append name "					"<%s>\n",s);				return E_CFG;			}			*param=(void*)twi;		} else {			twi->action.len = strlen(twi->action.s);		}	}	return 0;}