1 | /* |
---|
2 | * includes/bbftp_private_user.h |
---|
3 | * Copyright (C) 1999, 2000, 2001, 2002 IN2P3, CNRS |
---|
4 | * bbftp@in2p3.fr |
---|
5 | * http://doc.in2p3.fr/bbftp |
---|
6 | * |
---|
7 | * This program is free software; you can redistribute it and/or |
---|
8 | * modify it under the terms of the GNU General Public License |
---|
9 | * as published by the Free Software Foundation; either version 2 |
---|
10 | * of the License, or any later version. |
---|
11 | * |
---|
12 | * This program is distributed in the hope that it will be useful, |
---|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
15 | * GNU General Public License for more details. |
---|
16 | * |
---|
17 | * You should have received a copy of the GNU General Public License |
---|
18 | * along with this program; if not, write to the Free Software |
---|
19 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
20 | */ |
---|
21 | |
---|
22 | /**************************************************************************** |
---|
23 | |
---|
24 | |
---|
25 | |
---|
26 | bbftp_private_user.h v 2.1.0 2001/05/25 - Header creation |
---|
27 | |
---|
28 | *****************************************************************************/ |
---|
29 | |
---|
30 | /* |
---|
31 | ** This include must contain all global variable to be used for private |
---|
32 | ** authentication. All definition to be put here are normal definitions. |
---|
33 | ** |
---|
34 | ** For example to define the variable myprivatevar as an integer you must |
---|
35 | ** add the following line in bbftp_private_user.h |
---|
36 | |
---|
37 | int myprivatevar ; |
---|
38 | |
---|
39 | **/ |
---|
40 | |
---|
41 | /* |
---|
42 | * NDG-bbFTP test definitions. |
---|
43 | */ |
---|
44 | |
---|
45 | // Define this in the makefile |
---|
46 | // #define NDG_DELIVERY_VERSION "v0.0.1" |
---|
47 | #define NDG_STR(s) #s |
---|
48 | #define NDG_XSTR(s) NDG_STR(s) |
---|
49 | #define NDG_HANDSHAKE ("NDG-Delivery-client " NDG_XSTR(NDG_DELIVERY_VERSION)) |
---|
50 | |
---|
51 | #define NDG_MESSAGE_LEN 256 |
---|
52 | |
---|
53 | /* The logmessage size limit is hard coded into the bbFTP source. I define a macro here to avoid |
---|
54 | buffer overflows. |
---|
55 | */ |
---|
56 | #define NDG_MAX_LOGMESSAGE 1024 |
---|
57 | |
---|