search for: i_quit

Displaying 4 results from an estimated 4 matches for "i_quit".

2006 Apr 01
0
sftp tab completion patch (First release - NOT FOR INCLUDING YET)
...active commands */ #define WHITESPACE " \t\r\n" @@ -108,42 +111,49 @@ struct CMD { const char *c; const int n; + const int t; }; +/* Type of completion */ +#define NOARGS 0 +#define REMOTE 1 +#define LOCAL 2 + + static const struct CMD cmds[] = { - { "bye", I_QUIT }, - { "cd", I_CHDIR }, - { "chdir", I_CHDIR }, - { "chgrp", I_CHGRP }, - { "chmod", I_CHMOD }, - { "chown", I_CHOWN }, - { "dir", I_LS }, - { "exit", I_QUIT }, - { "get", I_GET }, - { "mget", I_GET }, - { &q...
2007 Dec 12
0
Revisiting sftp tab completion patch
...ractive commands */ #define WHITESPACE " \t\r\n" @@ -115,42 +121,49 @@ struct CMD { const char *c; const int n; + const int t; }; +/* Type of completion */ +#define NOARGS 0 +#define REMOTE 1 +#define LOCAL 2 + + static const struct CMD cmds[] = { - { "bye", I_QUIT }, - { "cd", I_CHDIR }, - { "chdir", I_CHDIR }, - { "chgrp", I_CHGRP }, - { "chmod", I_CHMOD }, - { "chown", I_CHOWN }, - { "dir", I_LS }, - { "exit", I_QUIT }, - { "get", I_GET }, - { "mget", I_GET }, - { &q...
2002 Nov 05
0
[PATCH] Add getlink command to sftp
...1 17:27:02 2002 --- sftp-int.c Wed Oct 2 06:21:10 2002 *************** *** 74,79 **** --- 74,80 ---- #define I_SHELL 20 #define I_SYMLINK 21 #define I_VERSION 22 + #define I_GETLINK 23 struct CMD { const char *c; *************** *** 91,96 **** --- 92,98 ---- { "exit", I_QUIT }, { "get", I_GET }, { "mget", I_GET }, + { "getlink", I_GETLINK }, { "help", I_HELP }, { "lcd", I_LCHDIR }, { "lchdir", I_LCHDIR }, *************** *** 126,131 **** --- 128,134 ---- printf("chown own path...
2003 Oct 01
1
3.7.1p2 sftp recurse patch
...ve commands */ #define WHITESPACE " \t\r\n" @@ -81,6 +84,7 @@ #define I_SYMLINK 21 #define I_VERSION 22 #define I_PROGRESS 23 +#define I_RECURSE 24 struct CMD { const char *c; @@ -113,6 +117,7 @@ { "mput", I_PUT }, { "pwd", I_PWD }, { "quit", I_QUIT }, + { "recurse", I_RECURSE }, { "rename", I_RENAME }, { "rm", I_RM }, { "rmdir", I_RMDIR }, @@ -147,6 +152,7 @@ printf("exit Quit sftp\n"); printf("quit Quit sftp\n"); printf(...