Yep, that's pretty much what it does.
It's just a structure that describes what the code is (device,library,resource etc), what version it is, if it should be automatically run (and its priority says when it should be run), and a name and ID string.
Chris Hodges describes it a lot better than I ever could in the docs to
Luciferin