source: TI05-delivery/trunk/src/bbftp-server-3.2.0/includes/bbftp_private_user.h @ 1077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/trunk/src/bbftp-server-3.2.0/includes/bbftp_private_user.h@1077
Revision 1077, 1.5 KB checked in by spascoe, 13 years ago (diff)

Implemented full client-server handshake. A version message is now
exchanged client->server then server->client. These messages are logged
in debug mode. Message passing is implemented in Python on the server (at the
moment this is only implemented within test/test_embedded.py).

Line 
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
37int myprivatevar ;
38
39**/
40
41#ifdef NDG_AUTH
42#define NDG_STR(s) #s
43#define NDG_XSTR(s) NDG_STR(s)
44#define NDG_HANDSHAKE ("NDG-Delivery-server " NDG_XSTR(NDG_DELIVERY_VERSION))
45#endif
Note: See TracBrowser for help on using the repository browser.