mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
controlapi: sort files alphabetical
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user