1999-02-01 11:06:22 +00:00
|
|
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Netscape Public License
|
|
|
|
* Version 1.0 (the "NPL"); you may not use this file except in
|
|
|
|
* compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
* http://www.mozilla.org/NPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* NPL.
|
|
|
|
*
|
|
|
|
* The Initial Developer of this code under the NPL is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
|
|
* Reserved.
|
|
|
|
*/
|
1998-08-12 21:04:30 +00:00
|
|
|
|
1999-02-01 12:36:46 +00:00
|
|
|
#ifndef XP_UNIX
|
|
|
|
|
1998-08-12 21:04:30 +00:00
|
|
|
#include "xp_mcom.h"
|
|
|
|
#include "net.h"
|
|
|
|
#include "xp_linebuf.h"
|
|
|
|
#include "mkbuf.h"
|
|
|
|
|
1999-02-01 11:06:22 +00:00
|
|
|
/* Unix: Moved these stubs to lib/xp/xp_stubs.c so we don't keep
|
|
|
|
copying this stub function around. Mac & Win32 should follow suit. */
|
|
|
|
|
|
|
|
|
1998-08-12 21:04:30 +00:00
|
|
|
/* dist/public/xp/xp_linebuf.h */
|
1998-12-02 16:52:08 +00:00
|
|
|
extern "C" int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size,
|
1998-08-12 21:04:30 +00:00
|
|
|
uint32 desired_buffer_size,
|
|
|
|
char **bufferP, uint32 *buffer_sizeP,
|
|
|
|
uint32 *buffer_fpP,
|
|
|
|
int32 (*per_buffer_fn) (char *buffer,
|
|
|
|
uint32 buffer_size,
|
|
|
|
void *closure),
|
1998-08-12 21:13:52 +00:00
|
|
|
void *closure)
|
|
|
|
{
|
|
|
|
|
|
|
|
printf("XP_ReBuffer not implemented, stubbed in webshell/tests/viewer/nsStubs.cpp\n");
|
|
|
|
return(0);
|
|
|
|
}
|
1998-08-12 21:04:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* mozilla/include/xp_trace.h */
|
|
|
|
|
1998-08-12 21:13:52 +00:00
|
|
|
extern "C" void XP_Trace( const char *, ... )
|
|
|
|
{
|
|
|
|
printf("XP_Trace not implemented, stubbed in webshell/tests/viewer/nsStubs.cpp\n");
|
|
|
|
|
|
|
|
}
|
1998-08-12 21:04:30 +00:00
|
|
|
|
1999-02-01 11:06:22 +00:00
|
|
|
#endif
|