"Fossies" - the Fresh Open Source Software Archive

Member "mod_ntlm2-0.1/smbval/rfcnb-util.h" (21 Feb 2003, 1540 Bytes) of package /linux/www/apache_httpd_modules/old/mod_ntlm2-0.1.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* mod_ntlm file: $Id: rfcnb-util.h,v 1.3 2003/02/21 01:55:14 casz Exp $ */
    2 
    3 #ifndef RFCNB_UTIL_H
    4 #define RFCNB_UTIL_H
    5 
    6 /* UNIX RFCNB (RFC1001/RFC1002) NetBIOS implementation
    7  * 
    8  * Version 1.0 RFCNB Utility Defines
    9  * 
   10  * Copyright (C) Richard Sharpe 1996
   11  * 
   12  */
   13 
   14 /* 
   15  * This program is free software; you can redistribute it and/or modify it 
   16  * under the terms of the GNU General Public License as published by the
   17  * Free Software Foundation; either version 2 of the License, or (at your
   18  * option) any later version.  This program is distributed in the hope
   19  * that it will be useful, but WITHOUT ANY WARRANTY; without even the
   20  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
   21  * PURPOSE.  See the GNU General Public License for more details.  You
   22  * should have received a copy of the GNU General Public License along
   23  * with this program; if not, write to the Free Software Foundation, Inc., 
   24  * 675 Mass Ave, Cambridge, MA 02139, USA. */
   25 
   26 static void RFCNB_CvtPad_Name(char *name1, char *name2);
   27 
   28 static struct RFCNB_Pkt *RFCNB_Alloc_Pkt(int n);
   29 
   30 static int RFCNB_Name_To_IP(char *host, struct in_addr *Dest_IP);
   31 
   32 static int RFCNB_Close(int socket);
   33 
   34 static int RFCNB_IP_Connect(struct in_addr Dest_IP, int port);
   35 
   36 static int RFCNB_Session_Req(struct RFCNB_Con *con,
   37                              char *Called_Name,
   38                              char *Calling_Name,
   39                              BOOL * redirect,
   40                              struct in_addr *Dest_IP,
   41                              int *port);
   42 
   43 #endif