#ifndef __COMMAND_H__
#define __COMMAND_H__

#include "message.h"

typedef Message * (*CommandHandlerDelegate) (void *context, Message *requestMessage);

struct s_CommandHandler
{
    const char *commandName;
    CommandHandlerDelegate handler;
    const char **requiredParameters;
    const char **optionalParameters;
};

typedef struct s_CommandHandler CommandHandler;

#endif
