dynevent_str_add
extern int dynevent_str_add(struct dynevent_cmd *cmd, const char *str);
ret = dynevent_str_add(cmd, buf);