I don't know how to implement second and third steps. (using and making plug-ins)
I mean creating a program and after that, create some sort of files that program can recognize it as a plug-in.
I 'm thinking about trying to implement a plugin system for my media player sometime in the near future.
I'm probably going to use GModule.
Description
These functions provide a portable way to dynamically load object files (commonly known as 'plug-ins'). The current implementation supports all systems that provide an implementation of dlopen() (e.g. Linux/Sun), as well as HP-UX via its shl_load() mechanism, and Windows platforms via DLLs.