Files
2026-07-30 11:19:44 +05:30

49 lines
1.1 KiB
C

/* wvUploadPathP.h - generic upload-path definition for windview */
/* Copyright 1997, 2010 Wind River Systems, Inc.
*
* The right to copy, distribute, modify or otherwise make use
* of this software may be licensed only pursuant to the terms
* of an applicable Wind River license agreement.
*/
/*
modification history
--------------------
01c,10feb10,tcr update for 64bit
01b,18dec97,cth moved to private, renamed to wvUploadPathP.h, added comments
01a,16nov97,cth written.
*/
/*
This file contains the definition of a structure that should make up the
core of any upload-path id that can be passed to wvLib. Windview uses a
pointer to this type of structure to access the path's routines.
*/
#ifndef __INCwvuploadpathph
#define __INCwvuploadpathph
#ifdef __cplusplus
extern "C" {
#endif
/* typedefs */
typedef struct uploadPathDesc /* UPLOAD_DESC */
{
ssize_t (* writeRtn) (); /* write to the upload path */
int (* errorRtn) (); /* signal upload path that an error occurred */
} UPLOAD_DESC;
typedef UPLOAD_DESC *UPLOAD_ID;
#ifdef __cplusplus
}
#endif
#endif /* __INCwvuploadpathph*/