Daniel Stenberg via curl-library wrote:
> On Fri, 4 Feb 2022, Henrik Holst via curl-library wrote:
> 
>> Just have to have consensus on what to call this macro, looking at the 
>> codebase there is a strong use of CURL_ prefixes so perhaps CURL_CONSTLEN or 
>> something
>> like that?
> 
> Since the name would be used internally only and it wouldn't likely collide 
> with an existing name, I don't think a curl prefix is necessary. I even prefer
> without then, to make the name shorter and more easily readable.
> 
> CONSTLEN() works for me.
> 
OpenLDAP has done this for ... decades. We called it STRLENOF().

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to