Added stubs for ValidateDocData XP_ReBuffer and XP_Trace to

get Linux build to work.
This commit is contained in:
kmcclusk%netscape.com 1998-08-12 21:04:30 +00:00
parent d5931797aa
commit f413ee27d8
3 changed files with 34 additions and 1 deletions

View File

@ -28,10 +28,11 @@ CPPSRCS = \
nsUnixMain.cpp \
nsViewerApp.cpp \
nsWebCrawler.cpp \
nsStubs.cpp \
$(NULL)
INCLUDES+= -I$(PUBLIC)/raptor -I$(PUBLIC)/xpcom -I$(PUBLIC)/dom \
-I$(PUBLIC)/netlib -I$(PUBLIC)/js -I$(PUBLIC)/pref
-I$(PUBLIC)/netlib -I$(PUBLIC)/js -I$(PUBLIC)/pref -I$(PUBLIC)/network -I$(PUBLIC)/xp
OBJS = $(CPPSRCS:.cpp=.o)

View File

@ -0,0 +1,27 @@
#include "xp_mcom.h"
#include "net.h"
#include "xp_linebuf.h"
#include "mkbuf.h"
extern "C" XP_Bool ValidateDocData(MWContext *window_id) { return PR_TRUE; }
/* dist/public/xp/xp_linebuf.h */
int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size,
uint32 desired_buffer_size,
char **bufferP, uint32 *buffer_sizeP,
uint32 *buffer_fpP,
int32 (*per_buffer_fn) (char *buffer,
uint32 buffer_size,
void *closure),
void *closure) { return(0); }
/* mozilla/include/xp_trace.h */
extern "C" void XP_Trace( const char *, ... ) { }

View File

@ -114,3 +114,8 @@ int main(int argc, char **argv)
return 0;
}
void ValidateDocData() { }
void XP_ReBuffer() { }
void XP_Trace() { }