00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00032
00033 #ifdef HAVE_CONFIG_H
00034 #include "autoconfig.h"
00035 #endif
00036
00037 #include "web_callbacks.h"
00038 #include "server.h"
00039 #include <sys/types.h>
00040 #include <sys/stat.h>
00041 #include <unistd.h>
00042 #include <string.h>
00043 #include <stdio.h>
00044 #include "common.h"
00045 #include "storage.h"
00046 #include "cds_objects.h"
00047 #include "process.h"
00048 #include "update_manager.h"
00049 #include "ixml.h"
00050 #include "io_handler.h"
00051
00052 using namespace zmm;
00053
00054 IOHandler::IOHandler() : Object()
00055 {
00056 }
00057
00068 void IOHandler::open(IN enum UpnpOpenFileMode mode)
00069 {
00070 }
00071
00085 int IOHandler::read(OUT char *buf, IN size_t length)
00086 {
00087 return -1;
00088 }
00089
00106 int IOHandler::write(IN char *buf, IN size_t length)
00107 {
00108 return 0;
00109 }
00110
00125 void IOHandler::seek(IN off_t offset, IN int whence)
00126 {
00127 }
00128
00136 void IOHandler::close()
00137 {
00138 }