2018-02-03 Fred Gleason <fredg@paravelsystems.com>

* Converted rdxport.cgi to use RDApplication.
This commit is contained in:
Fred Gleason
2018-02-02 19:18:58 -05:00
parent a78fbf5232
commit 0b59fa865a
16 changed files with 174 additions and 191 deletions

View File

@@ -25,20 +25,21 @@
#include <sys/vfs.h>
#include <fcntl.h>
#include <rdformpost.h>
#include <rdweb.h>
#include <rdapplication.h>
#include <rdcart.h>
#include <rdwavefile.h>
#include <rdconf.h>
#include <rdformpost.h>
#include <rdwavefile.h>
#include <rdweb.h>
#include <rdxport.h>
#include "rdxport.h"
void Xport::AudioStore()
{
struct statvfs stat;
memset(&stat,0,sizeof(stat));
if(statvfs(xport_config->audioRoot(),&stat)<0) {
if(statvfs(rda->config()->audioRoot(),&stat)<0) {
XmlExit("Internal Error",400,"audiostore.cpp",LINE_NUMBER);
}
printf("Content-type: application/xml\n");