generator: add a FilenameList parameter type

Mostly like StringList (so it can used in current StringList
parameters), but checking client- and daemon-side that the elements are
file names.
This commit is contained in:
Pino Toscano
2015-10-21 11:04:50 +02:00
parent 64cb0f5dad
commit 7c10cda266
20 changed files with 116 additions and 56 deletions

View File

@@ -254,7 +254,7 @@ let name_of_argt = function
| Mountable_or_Path n | String n | OptString n
| StringList n | DeviceList n | Bool n | Int n | Int64 n
| FileIn n | FileOut n | BufferIn n | Key n | Pointer (_, n)
| GUID n -> n
| GUID n | FilenameList n -> n
let name_of_optargt = function
| OBool n | OInt n | OInt64 n | OString n | OStringList n -> n