<div dir="ltr">Hi Serge,<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 14, 2013 at 3:13 PM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
I'd like to rewrite lxc-create to be c (calling out to the c templates<br>
which continue to be scripts for the most part).  Unfortunately right<br>
now the lxcapi_create() just takes arguments to send to the lxc-create<br>
script.<br>
<br>
I could either dump the existing lxcapi_create function, replace it with<br>
something close to the lxcapi_clone, and update the current callers, or<br>
I can write a new function lxcapi_create2, keeping lxcapi_create() as<br>
calling the c program (which then calls lxcapi_create2 :).<br>
<br>
The only reason to go with lxcapi_create2 would be for out of tree<br>
callers (which includes the go bindings).  Since we're not at 1.0 yet we<br>
don't guarantee anything about api stability (for exactly this reason),<br>
but I thought I'd ask anyway what you all thought.<br></blockquote><div><br></div><div><div>Dumping the existing one and replacing it with something else works for me. Also I'm not aware any other user of go bindings than me and. Any if there are then I guess they shouldn't expect a stable API at this point because of the reasons that you stated.</div>

</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
-serge<br>
<br>
------------------------------------------------------------------------------<br>
AlienVault Unified Security Management (USM) platform delivers complete<br>
security visibility with the essential security capabilities. Easily and<br>
efficiently configure, manage, and operate all of your security controls<br>
from a single console and one unified framework. Download a free trial.<br>
<a href="http://p.sf.net/sfu/alienvault_d2d" target="_blank">http://p.sf.net/sfu/alienvault_d2d</a><br>
_______________________________________________<br>
Lxc-devel mailing list<br>
<a href="mailto:Lxc-devel@lists.sourceforge.net">Lxc-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/lxc-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-devel</a><br>
</blockquote></div><br>-- <br>S.Çağlar Onur <<a href="mailto:caglar@10ur.org">caglar@10ur.org</a>>
</div></div>