|
@@ -40,6 +40,7 @@ _BEGIN_C_DECL
|
|
clish_context_t *clish_context_new(clish_shell_t *shell);
|
|
clish_context_t *clish_context_new(clish_shell_t *shell);
|
|
int clish_context_init(clish_context_t *instance, clish_shell_t *shell);
|
|
int clish_context_init(clish_context_t *instance, clish_shell_t *shell);
|
|
void clish_context_free(clish_context_t *instance);
|
|
void clish_context_free(clish_context_t *instance);
|
|
|
|
+int clish_context_dup(clish_context_t *dst, const clish_context_t *src);
|
|
clish_shell_t *clish_context__get_shell(const void *instance);
|
|
clish_shell_t *clish_context__get_shell(const void *instance);
|
|
void clish_context__set_cmd(void *instance, const clish_command_t *cmd);
|
|
void clish_context__set_cmd(void *instance, const clish_command_t *cmd);
|
|
const clish_command_t *clish_context__get_cmd(const void *instance);
|
|
const clish_command_t *clish_context__get_cmd(const void *instance);
|