# consolecommand

## Name

consolecommand --

## Synopsis

    enum        LJConsoleLineType;
    typedef     LJConsoleLine;
    typedef     LJConsoleCommand;
    LJConsoleCommand* lj_consolecommand_new     (LJUser *user,
                                                 const char *command);
    void        lj_consolecommand_free          (LJConsoleCommand *consolecommand);

## Description

## Details

### enum LJConsoleLineType

    typedef enum {
    	LJ_CONSOLE_LINE_TYPE_UNKNOWN,
    	LJ_CONSOLE_LINE_TYPE_INFO,
    	LJ_CONSOLE_LINE_TYPE_ERROR
    } LJConsoleLineType;

### LJConsoleLine

    typedef struct {
    	LJConsoleLineType type;
    	char *text;
    } LJConsoleLine;

### LJConsoleCommand

    typedef struct {
    	LJVerb verb;
    	int linecount;
    	LJConsoleLine *lines;
    } LJConsoleCommand;

### lj_consolecommand_new ()

    LJConsoleCommand* lj_consolecommand_new     (LJUser *user,
                                                 const char *command);

user : |
command : |
Returns : |

### lj_consolecommand_free ()

    void        lj_consolecommand_free          (LJConsoleCommand *consolecommand);

consolecommand : |