grub2-dev: Functions

1 
1 2.2 Functions
1 =============
1 
1 If a function is global, its name must be prefixed with grub_ and must
1 consist of only small letters.  If the function belongs to a specific
1 function module, the name must also be prefixed with the module name.
1 For example, if a function is for file systems, its name is prefixed
1 with grub_fs_.  If a function is for FAT file system but not for all
1 file systems, its name is prefixed with grub_fs_fat_.  The hierarchy is
1 noted this way.
1 
1    After a prefix, a function name must start with a verb (such as get
1 or is).  It must not be a noun.  Some kind of abbreviation is permitted,
1 as long as it wouldn't make code less readable (e.g.  init).
1 
1    If a function is local, its name may not start with any prefix.  It
1 must start with a verb.
1