Re: [lxc-devel] [PATCH] Make config api items const

2012-11-27 Thread Stéphane Graber
On 11/27/2012 02:23 PM, Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): >> This makes it easier to write a binding, and presents a cleaner API. Use >> strdupa in a few places to get mutable strings for tokenizing / parsing. >> Also change the argv type in lxcapi_start and lxca

Re: [lxc-devel] [PATCH] Make config api items const

2012-11-27 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > This makes it easier to write a binding, and presents a cleaner API. Use > strdupa in a few places to get mutable strings for tokenizing / parsing. > Also change the argv type in lxcapi_start and lxcapi_create to match > that of execv(3). > > Signe

[lxc-devel] [PATCH] Make config api items const

2012-11-26 Thread Dwight Engen
This makes it easier to write a binding, and presents a cleaner API. Use strdupa in a few places to get mutable strings for tokenizing / parsing. Also change the argv type in lxcapi_start and lxcapi_create to match that of execv(3). Signed-off-by: Dwight Engen --- src/lxc/conf.c | 10 +