lxc_container struct: add comment about moving member fns

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Serge Hallyn 2015-11-17 23:05:37 -06:00
parent 3b39251985
commit e2ae7f6d8c

View File

@ -51,6 +51,10 @@ struct lxc_lock;
/*!
* An LXC container.
*
* Note that changing the order of struct members is an API change, as callers
* will end up having the wrong offset when calling a function. So when making
* changes, whenever possible stick to simply appending new members.
*/
struct lxc_container {
// private fields