Unfortunately documentation on how to write FFGL plugins seems to be scarce and usually very old. The little I know I had to learn by trial and error and by studying the FFGL source code.
If there's a quicker or better way I'll be happy to know.
regards
Davide