#ifndef __MESSAGE_PROCESSOR_H__
#define __MESSAGE_PROCESSOR_H__

#include "mecha.h"
#include "responseholderlist.h"
#include "command_handlers.h"
#include "processor.h"

typedef struct s_MessageProcessor MessageProcessor;

MessageProcessor *
message_processor_new (dynTstring *message, ResponseHolderList *responses,
                CommandHandlers *commandHandlers, Processor *processor);

void message_processor_destroy (void *ptr);
void message_processor_process (void *context);


#endif
