Now let's move on to a discussion of Libtool's ltdl library. Once again, I'm going to have to add some functionality to the Jupiter project in order to illustrate these concepts. The goal here is to create a plug-in interface that the
jupiter program can use to modify output based on end-user policy choices.
jupiter prints Hello, from jupiter! (Actually, the name printed is more likely, at this point, to be a long, ugly path containing some Libtool directory garbage and some derivation of the name jupiter, but just pretend it prints jupiter for now.) We're going to add an additional parameter named
salutation to the common static library method,
print_routine. This parameter will also be of type ...