controlapi: sort files alphabetical

Origin commit data
------------------
Branch: ni/coolstream
Commit: 21fbadaa8f
Author: TangoCash <eric@loxat.de>
Date: 2016-02-12 (Fri, 12 Feb 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2016-02-12 22:19:43 +01:00
committed by vanhofen
parent bcc49db77b
commit 70a1324dff
2 changed files with 28 additions and 11 deletions

View File

@@ -27,6 +27,18 @@ private:
} TyCgiCall;
const static TyCgiCall yCgiCallList[];
struct FileCGI_List
{
std::string name;
std::string type_str;
unsigned char type;
std::string fullname;
bool operator () (FileCGI_List a,FileCGI_List b)
{
return (a.name < b.name);
}
} fsort;
int rc_send(int ev, unsigned int code, unsigned int value);
// send functions for ExecuteCGI (controld api)