Something
public text v1 · immutable struct aji_user *user;
struct aji_channel *channel;
user = (struct aji_user *)malloc(sizeof(struct aji_user));
if(!user)
ast_log(LOG_WARNING, "Out of memory\n");
memset(user,0,sizeof(struct aji_user));
ASTOBJ_INIT(user);
ast_copy_string(user->name, label, sizeof(user->name));
/*memset(user->c,0,sizeof(user->c));
ASTOBJ_CONTAINER_INIT(user->c);*/