c plugins example ?

Asked by Oliver Marks

I have seen in another question that we can write plugins in c are there any examples i had a quick look in the source code but it looks like everything is currently in vala i could not find an example of a c plugin just after something to get me going.

Question information

Language:
English Edit question
Status:
Solved
For:
Synapse Edit question
Assignee:
No assignee Edit question
Solved by:
Oliver Marks
Solved:
Last query:
Last reply:
Revision history for this message
Michal Hruby (mhr3) said :
#1

Why would you want to use C, when you can use Vala? Plugins heavily rely on inheritance and interfaces, it'd be quite a pain having to implement everything in C with the boilerplate GObject code.

Revision history for this message
Oliver Marks (oly) said :
#2

the answer to that is quite simple, i know c python and php and struggle enough with the varying syntaxes so do not want to make my life any more complicated, so if i can write plugins in one of those i will if not i will not :)
I like the program but there are a few plugins i would like to see one for connecting to ftp and another for opening connections to a database ideally using mysql workbench and filezilla as i deal with a vast number of server on a regular basis.

Revision history for this message
Magnun Leno (magnun-leno) said :
#3

Support for Python plugins would be great!