OSDN Git Service

mgmt-api: Reorder parameters for read_commands
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 10 Feb 2012 10:18:12 +0000 (12:18 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 10 Feb 2012 10:18:12 +0000 (12:18 +0200)
commit455a27fa3afe1d16b531f59a4e464df1afea8c73
treeef98ea4c397316b018dd768d059efdd2aada5a5e
parent8c03ffd26519c4ab71f50194813edc0b2a4da05d
mgmt-api: Reorder parameters for read_commands

It makes more sense to have the num_commands and num_events parameters
in the beginning so that the message length can be validated up front.
doc/mgmt-api.txt
lib/mgmt.h