VirtualDir.h
#ifndef VIRTUALDIR_H
#define VIRTUALDIR_H
#include "upnp.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;
const void *cookie;
char dirName[NAME_SIZE];
} virtualDirList;
#endif /* VIRTUALDIR_H */
VDCallback_Close
int(* VDCallback_Close)(UpnpWebFileHandle fileHnd, const void *cookie, const void *request_cookie)
Close callback function prototype.
Definition upnp.h:2737
VDCallback_GetInfo
int(* VDCallback_GetInfo)(const char *filename, UpnpFileInfo *info, const void *cookie, const void **request_cookie)
Get-info callback function prototype.
Definition upnp.h:2607
VDCallback_Seek
int(* VDCallback_Seek)(UpnpWebFileHandle fileHnd, off_t offset, int origin, const void *cookie, const void *request_cookie)
Seek callback function prototype.
Definition upnp.h:2707
VDCallback_Write
int(* VDCallback_Write)(UpnpWebFileHandle fileHnd, char *buf, size_t buflen, const void *cookie, const void *request_cookie)
Write callback function prototype.
Definition upnp.h:2681
VDCallback_Read
int(* VDCallback_Read)(UpnpWebFileHandle fileHnd, char *buf, size_t buflen, const void *cookie, const void *request_cookie)
Read callback function prototype.
Definition upnp.h:2656
VDCallback_Open
UpnpWebFileHandle(* VDCallback_Open)(const char *filename, enum UpnpOpenFileMode Mode, const void *cookie, const void *request_cookie)
Open callback function prototype.
Definition upnp.h:2632
VirtualDirCallbacks
Definition VirtualDir.h:11
VirtualDirCallbacks::read
VDCallback_Read read
Definition VirtualDir.h:30
VirtualDirCallbacks::open
VDCallback_Open open
Definition VirtualDir.h:19
VirtualDirCallbacks::close
VDCallback_Close close
Definition VirtualDir.h:57
VirtualDirCallbacks::write
VDCallback_Write write
Definition VirtualDir.h:37
VirtualDirCallbacks::get_info
VDCallback_GetInfo get_info
Definition VirtualDir.h:14
VirtualDirCallbacks::seek
VDCallback_Seek seek
Definition VirtualDir.h:51
virtual_Dir_List
Definition VirtualDir.h:61
upnp.h