File: plugin.h

package info (click to toggle)
vile 9.7ze-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 8,372 kB
  • ctags: 9,314
  • sloc: ansic: 95,840; lex: 11,395; sh: 3,416; perl: 3,200; cpp: 3,180; makefile: 982; awk: 271; sed: 14
file content (13 lines) | stat: -rw-r--r-- 409 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef plugin_h_
#define plugin_h_

/* function implemented by plugin, called at initialization */
/* return: ==0 (FALSE) not ok, !=0 (TRUE) ok */
typedef int (* plugin_init) (void) ;

/* name of shared object file for a plugin */
#define PLUGIN_SO_FMT "vile-%s-plugin.so"
/* name of initialization function of a shared object plugin */
#define PLUGIN_INIT_NAME "%s_vile_plugin_init"

#endif /* plugin_h_ */