Lines Matching refs:ctx
36 static void (*edit_cmd_cb)(void *ctx, char *cmd);
37 static void (*edit_eof_cb)(void *ctx);
38 static char ** (*edit_completion_cb)(void *ctx, const char *cmd, int pos) =
295 int (*filter_cb)(void *ctx, const char *cmd))
1113 int edit_init(void (*cmd_cb)(void *ctx, char *cmd),
1114 void (*eof_cb)(void *ctx),
1115 char ** (*completion_cb)(void *ctx, const char *cmd, int pos),
1116 void *ctx, const char *history_file, const char *ps)
1124 edit_cb_ctx = ctx;
1145 int (*filter_cb)(void *ctx, const char *cmd))