OpenVAS Scanner 21.4.1
ftp_funcs.h
Go to the documentation of this file.
1/* Portions Copyright (C) 2009-2021 Greenbone Networks GmbH
2 * Based on work Copyright (C) 1998 Renaud Deraison
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
26#ifndef OPENVAS_FTP_FUNCS_H
27#define OPENVAS_FTP_FUNCS_H
28
29#include <arpa/inet.h>
30#include <sys/param.h>
31#include <sys/socket.h>
32#ifdef __FreeBSD__
33#include <netinet/in.h>
34#endif
35
36int
37ftp_log_in (int, char *, char *);
38
39int
40ftp_get_pasv_address (int, struct sockaddr_in *);
41
42#endif
int ftp_get_pasv_address(int, struct sockaddr_in *)
Definition: ftp_funcs.c:113
int ftp_log_in(int, char *, char *)
Definition: ftp_funcs.c:29