From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: Re: Prefix / Naming USERCR API Date: Sun, 11 Apr 2010 12:02:25 -0500 Message-ID: <20100411170225.GA5331@us.ibm.com> References: <20100406020221.GA647@us.ibm.com> <1270709399.2602.48.camel@pagloppaglop> <20100410034840.GA11028@us.ibm.com> <4BC077B8.6060305@cs.columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4BC077B8.6060305-eQaUEPhvms7ENvBUuze7eA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oren Laadan Cc: Containers , Sukadev Bhattiprolu List-Id: containers.vger.kernel.org Quoting Oren Laadan (orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org): > > > Sukadev Bhattiprolu wrote: > > | > So, what would be a good prefix ? > > | > > > | > cr_ > > | > cr_checkpoint.h, libcr.a > > | > cr_checkpoint() cr_restart() cr_freeze() cr_migrate() > > | > struct cr_checkpoint_args, struct cr_restart_args > > | > acr_ > > | > Only advantage over 'cr_' is lesser likelihood of collision > > | > > > | > acr_checkpoint.h, libacr.a > > | > acr_checkpoint() acr_restart() acr_freeze() acr_migrate() > > | > struct acr_checkpoint_args, struct acr_restart_args > > | > > > | > lxcr_ > > | > lxcr_checkpoint.h, liblxcr.a > > | > lxcr_checkpoint() lxcr_restart() lxcr_freeze() lxcr_migrate() > > | > struct lxcr_checkpoint_args, struct lxcr_restart_args > > | > > | I do not think lxcr_ prefix is a good choice as lxc is about container > > | and could use different libraries for the checkpoint/restart function. > > > > I was thinking of lx as short for linux, but ok. we can drop lxcr_. > > > > Any NACKS to 'acr_' ? If not, I will go with it - for now :-) > > > > I vote for 'cr_' to match the terminology we use in the docs > and emails ('c/r'). > > ... and for brevity :p > > Oren. 'me too'