blob: 2352b50da292afb4579979bb2f2ec0c56b348efe [file] [log] [blame]
//#include "inc/cwmp_private.h"
#include <cwmp/cwmp.h>
#include "cwmp/queue.h"
int callback_register_task(cwmp_t * cwmp, callback_func_t callback, void *data1, void *data2)
{
queue_add(cwmp->queue, callback, TASK_CALLBACK_TAG, QUEUE_PRIORITY_HIGH, data1, data2);
return CWMP_OK;
}