[eluser]Basketcasesoftware[/eluser]
That's a pretty open ended question there. I mean, what part of your scripts do you plan to use as a library? The CodeIgniter User Guide has a very good section on creating custom library additions. Is this a PHP script? Java? Something entirely different?
[eluser]surrealillusions[/eluser]
Its a PHP script, sorry, forgot to mention that
I've looked at the creating your own libraries in the user guide, but it doesn't seem to mention about multi-file scripts/library classes in there, does it?
[eluser]Basketcasesoftware[/eluser]
Really wouldn't matter. Just create a single library item that is your interface to the library. That's the whole idea behind APIs. They are bridges between code libraries. All you need to do is create a wrapper class that complies with CodeIgniter's custom library requirements. Make sure to create an initializer function. Then add the functions you need to call your library. Is this your own library? With enough info I can write up the class for you. If you want to keep details private you can contact me either by PM or by my business email address basketcasesoftware at gmail dot com.