[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-devel] Pre-1.3.3 beta available for testing



On Wed, 19 Feb 2003, James Yonan wrote:

> > Please also note that _* names are reserved name space. Don't use them
> > for your functions if you can avoid it, for portability -- they might
> > screw some linker.
> 
> Are __* names reserved?  What's the recommended form for naming "private"  
> variables (I'm coming from C++/Python where _* names are a common naming
> style for class-private variables to avoid collisions with similarly named
> public member functions)?

Mostly anything that starts with _ is reserved. There are some
exceptions, you may name auto variables _[a-z]*, but not functions.

You could use x_ as prefix though.

I've googled a little and found
http://oakroadsystems.com/tech/c-predef.htm#Groups to be a very useful
resource (and it's concise as well).

-- 
Matthias Andree

____________________________________________
Openvpn-devel mailing list
Openvpn-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-devel