home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / include / m_cvstrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  3.0 KB  |  94 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19.  
  20. /*
  21. **    Mac_Convert_Stream.h
  22. **    --------------------
  23. **
  24. **    The header file for the constructing functions of apple file 
  25. **        encode/decode stream.
  26. **
  27. **        27sep95        mym        created.
  28. */
  29.  
  30. #ifndef    M_CVStrm_h
  31. #define M_CVStrm_h
  32.  
  33. XP_BEGIN_PROTOS
  34.  
  35. PUBLIC NET_StreamClass * 
  36. fe_MakeBinHexEncodeStream (int  format_out,
  37.                          void       *data_obj,
  38.                          URL_Struct *URL_s,
  39.                          MWContext  *window_id,
  40.                          char*        dst_filename);
  41.                          
  42. PUBLIC NET_StreamClass * 
  43. fe_MakeBinHexDecodeStream (int  format_out,
  44.                          void       *data_obj,
  45.                          URL_Struct *URL_s,
  46.                          MWContext  *window_id );
  47.  
  48. PUBLIC NET_StreamClass * 
  49. fe_MakeAppleDoubleDecodeStream (int  format_out,
  50.                          void       *data_obj,
  51.                          URL_Struct *URL_s,
  52.                          MWContext  *window_id,
  53.                          XP_Bool    write_as_binhex,
  54.                          char         *dst_filename);
  55.                          
  56. PUBLIC NET_StreamClass * 
  57. fe_MakeAppleSingleDecodeStream (int  format_out,
  58.                          void       *data_obj,
  59.                          URL_Struct *URL_s,
  60.                          MWContext  *window_id,
  61.                          XP_Bool    write_as_binhex,
  62.                          char         *dst_filename);
  63.  
  64. #ifdef XP_MAC
  65.  
  66. PUBLIC NET_StreamClass * 
  67. fe_MakeAppleDoubleEncodeStream (int  format_out,
  68.                          void       *data_obj,
  69.                          URL_Struct *URL_s,
  70.                          MWContext  *window_id,
  71.                          char*        src_filename,
  72.                          char*        dst_filename,
  73.                          char*        separator);
  74.  
  75. XP_Bool    isMacFile(char* filename);
  76.  
  77. #endif
  78.  
  79. PUBLIC NET_StreamClass * 
  80. fe_MakeAppleDoubleDecodeStream_1 (int  format_out,
  81.                         void       *data_obj,
  82.                         URL_Struct *URL_s,
  83.                         MWContext  *window_id);
  84.  
  85. PUBLIC NET_StreamClass * 
  86. fe_MakeAppleSingleDecodeStream_1 (int  format_out,
  87.                         void       *data_obj,
  88.                         URL_Struct *URL_s,
  89.                         MWContext  *window_id);
  90.  
  91. XP_END_PROTOS
  92.  
  93. #endif
  94.