mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
generator: Put all the daemon procedure numbers (proc_nr) into a single table.
Daemon 'proc_nr's have to be assigned monotonically and uniquely to each daemon function. However in practice it can be difficult to work out which is the next free proc_nr. Placing all of them into a single table in a new file (proc_nr.ml) should make this easier.
This commit is contained in:
@@ -39,7 +39,6 @@ let daemon_functions = [
|
||||
{ defaults with
|
||||
name = "debug"; added = (1, 0, 11);
|
||||
style = RString "result", [String "subcmd"; StringList "extraargs"], [];
|
||||
proc_nr = Some 76;
|
||||
visibility = VDebug;
|
||||
shortdesc = "debugging and internals";
|
||||
longdesc = "\
|
||||
@@ -54,7 +53,6 @@ to find out what you can do." };
|
||||
{ defaults with
|
||||
name = "debug_upload"; added = (1, 3, 5);
|
||||
style = RErr, [FileIn "filename"; String "tmpname"; Int "mode"], [];
|
||||
proc_nr = Some 241;
|
||||
visibility = VDebug;
|
||||
cancellable = true;
|
||||
shortdesc = "upload a file to the appliance (internal use only)";
|
||||
|
||||
Reference in New Issue
Block a user