File: methods.c

package info (click to toggle)
cftp 0.12-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 968 kB
  • ctags: 853
  • sloc: ansic: 9,541; sh: 327; makefile: 92
file content (63 lines) | stat: -rw-r--r-- 1,028 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
  This file is automatically created from ``methods.mt''; don't make
  changes to this file, change ``methods.mt'' instead.

  Created from:
    $NiH: mkmethods-c.m4,v 1.3 2002/09/16 12:42:39 dillo Exp $
    $NiH: methods.mt,v 1.4 2002/09/16 12:42:37 dillo Exp $
*/

#include <stddef.h>

#include "config.h"

#ifdef USE_SFTP
#include "methods.h"

struct ftp_methods ftp_methods[] = {
{
    rftp_close,
    rftp_cwd,
    rftp_deidle,
    rftp_fclose,
    rftp_list,
    rftp_open,
    rftp_mkdir,
    rftp_login,
    rftp_pwd,
    rftp_retr,
    rftp_rmdir,
    rftp_site,
    rftp_stor,
    rftp_xfer_eof,
    rftp_xfer_read,
    rftp_xfer_start,
    rftp_xfer_stop,
    rftp_xfer_write,
},
{
    sftp_close,
    sftp_cwd,
    sftp_deidle,
    sftp_fclose,
    sftp_list,
    sftp_open,
    sftp_mkdir,
    sftp_login,
    sftp_pwd,
    sftp_retr,
    sftp_rmdir,
    sftp_site,
    sftp_stor,
    sftp_xfer_eof,
    sftp_xfer_read,
    sftp_xfer_start,
    sftp_xfer_stop,
    sftp_xfer_write,
}
};

#endif

int ftp_proto;