Geert Uytterhoeven píše v St 24. 07. 2013 v 18:19 +0200:
On Wed, Jul 24, 2013 at 5:02 PM, Petr Stehlik <pstehlik@xxxxxxxxxx> wrote:
ARAnyM hackers: What's the maximum size of ID names?
There isn't any given limit AFAIK, it's based on a common sense when
creating a new NatFeat name.
Understood :-) What's the size of the longest name in use?
aranym/src/natfeat$ grep name\(\) * | grep return
debugprintf.h: const char *name() { return "DEBUGPRINTF"; }
ethernet.h: const char *name() { return "ETHERNET"; }
hostfs.h: const char *name() { return "HOSTFS"; }
nfaudio.h: const char *name() { return "AUDIO"; }
nf_basicset.h: const char *name() { return "NF_NAME"; }
nf_basicset.h: const char *name() { return "NF_VERSION"; }
nf_basicset.h: const char *name() { return "NF_SHUTDOWN"; }
nf_basicset.h: const char *name() { return "NF_STDERR"; }
nfbootstrap.h: const char *name() { return "BOOTSTRAP"; }
nfcdrom.h: const char *name() { return "CDROM"; }
nfclipbrd.h: const char *name() { return "CLIPBRD"; }
nfjpeg.h: const char *name() { return "JPEG"; }
nfosmesa.h: const char *name() { return "OSMESA"; }
nfpci.h: const char *name() { return "PCI"; }
nfvdi.h: const char *name() { return "fVDI"; }
usbhost.h: const char *name() { return "USBHOST"; }
xhdi.h: const char *name() { return "XHDI"; }
Is 32 OK?
yes, for now :)
Petr
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html