45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
/* wvFileUploadPathLibP.h - file upload path header */
|
|
|
|
/* Copyright 1997 Wind River Systems, Inc. */
|
|
|
|
/*
|
|
modification history
|
|
--------------------
|
|
01d,04sep03,tcr rename init function
|
|
01c,27jan98,cth added openFlags arg to create call, fileUpPathDefaultPerm
|
|
01b,18dec97,cth renamed to wvFileUploadPathLibP.h from wvFileUploadPathP.h,
|
|
added fileUploadPathLibInit prototype, updated include
|
|
01a,16nov97,cth written, taken from evtSockLibP.h
|
|
*/
|
|
|
|
|
|
#ifndef __INCwvfileuploadpathlibph
|
|
#define __INCwvfileuploadpathlibph
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "private/wvUploadPathP.h"
|
|
|
|
|
|
/* variable declarations */
|
|
|
|
extern int fileUpPathDefaultPerm;
|
|
|
|
|
|
/* function declarations */
|
|
|
|
extern STATUS wvFileUploadPathLibInit (void);
|
|
extern UPLOAD_ID wvFileUploadPathCreate (char *fname, int openFlags);
|
|
extern void wvFileUploadPathClose (UPLOAD_ID upId);
|
|
extern int wvFileUploadPathWrite (UPLOAD_ID upId, char * pData,
|
|
size_t size);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __INCwvfileuploadpathlibph*/
|
|
|