add: DBG("DEBUG: register_fifo_cmd: new command (%s) registered\n", cmd_name );
context: int register_fifo_cmd(fifo_cmd f, char *cmd_name, void *param){	struct fifo_command *new_cmd;	if (lookup_fifo_cmd(cmd_name)) {		LOG(L_ERR, "ERROR: register_fifo_cmd: attempt to register synonyms\n");		return E_BUG;	}	new_cmd=malloc(sizeof(struct fifo_command));	if (new_cmd==0) {		LOG(L_ERR, "ERROR: register_fifo_cmd: out of mem\n");		return E_OUT_OF_MEM;	}	new_cmd->f=f;	new_cmd->name=cmd_name;	new_cmd->param=param;	new_cmd->next=cmd_list;	cmd_list=new_cmd;	return 1;}