VirtualDir.h
#ifndef VIRTUALDIR_H
#define VIRTUALDIR_H
struct VirtualDirCallbacks
{
VDCallback_GetInfo get_info;
VDCallback_Open open;
VDCallback_Read read;
VDCallback_Write write;
VDCallback_Seek seek;
VDCallback_Close close;
};
typedef struct virtual_Dir_List
{
struct virtual_Dir_List *next;
char dirName[NAME_SIZE];
} virtualDirList;
#endif /* VIRTUALDIR_H */
VirtualDirCallbacks::get_info
VDCallback_GetInfo get_info
Definition: VirtualDir.h:15
VDCallback_GetInfo
int(* VDCallback_GetInfo)(const char *filename, UpnpFileInfo *info)
Get-info callback function prototype.
Definition: upnp.h:2415
VirtualDirCallbacks
Definition: VirtualDir.h:11
VirtualDirCallbacks::seek
VDCallback_Seek seek
Definition: VirtualDir.h:51
VDCallback_Open
UpnpWebFileHandle(* VDCallback_Open)(const char *filename, enum UpnpOpenFileMode Mode)
Open callback function prototype.
Definition: upnp.h:2436
VirtualDirCallbacks::write
VDCallback_Write write
Definition: VirtualDir.h:38
VirtualDirCallbacks::open
VDCallback_Open open
Definition: VirtualDir.h:20
VDCallback_Write
int(* VDCallback_Write)(UpnpWebFileHandle fileHnd, char *buf, size_t buflen)
Write callback function prototype.
Definition: upnp.h:2481
VDCallback_Seek
int(* VDCallback_Seek)(UpnpWebFileHandle fileHnd, off_t offset, int origin)
Seek callback function prototype.
Definition: upnp.h:2504
VDCallback_Close
int(* VDCallback_Close)(UpnpWebFileHandle fileHnd)
Close callback function prototype.
Definition: upnp.h:2532
VDCallback_Read
int(* VDCallback_Read)(UpnpWebFileHandle fileHnd, char *buf, size_t buflen)
Read callback function prototype.
Definition: upnp.h:2458
virtual_Dir_List
Definition: VirtualDir.h:61
VirtualDirCallbacks::read
VDCallback_Read read
Definition: VirtualDir.h:31
VirtualDirCallbacks::close
VDCallback_Close close
Definition: VirtualDir.h:57