From: Junio C Hamano Date: Fri, 31 Oct 2008 22:51:03 GMT Subject: Re: libgit2 - a true git library Message-ID: <7v3aic8jl4.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20081031220133.GA14786@spearce.org> "Shawn O. Pearce" writes: > Andreas Ericsson wrote: >>> * proper public "stuff" naming (I e.g. realy like types names -- not >>> struct or enum tags, that I don't really care -- ending with _t as >>> it helps navigating source. >> >> *_t types are reserved by POSIX for future implementations, so that's >> a no-go (although I doubt POSIX will ever make types named git_*_t). > > Yikes. Anyone know where a concise list of the reserved names are? Essentially, anything that ends with "_t" ;-) http://www.opengroup.org/onlinepubs/000095399/functions/xsh_chap02_02.html#tag_02_02_02 Look for "Any Header" in the table. >> Apart from that, please consider reading Ulrich Drepper's musings on >> library design at http://people.redhat.com/drepper/goodpractice.pdf > > I think I've read that before, but I'll skim over it again. > Thanks for the link. > > -- > Shawn.