/* ------------------------------------------------------ **
 * smb_url.h
 * ------------------------------------------------------ **
 */
/* Typedefs.
 */
typedef struct
  {
  uchar *ntdomain;
  uchar *user;
  uchar *server;
  uchar *port;
  uchar *share;
  uchar *path;
  uchar *context;
  } smb_url;
/* Function prototypes.
 */
smb_url *smb_urlParse( char *src, smb_url *url );
  /* ---------------------------------------------------- **
   * Parse an SMB URL string into an smb_url structure.
   * The function returns NULL on error.
   * ---------------------------------------------------- **
   */
void smb_urlContent( smb_url *url );
  /* ---------------------------------------------------- **
   * Dump the contents of an smb_url structure,
   * representing a parsed SMB URL string.
   * ---------------------------------------------------- **
   */
/* ------------------------------------------------------ */
| $Revision: 1.2 $ $Date: 2002/12/20 04:32:53 $ | ![[W3C Validated]](images/vh401.gif) Copyright © 2002 Christopher R. Hertel Released under the terms of the LGPL |