Move struct generic_plugin to sudo_plugin_int.h
This commit is contained in:
@@ -17,6 +17,15 @@
|
||||
#ifndef _SUDO_PLUGIN_INT_H
|
||||
#define _SUDO_PLUGIN_INT_H
|
||||
|
||||
/*
|
||||
* All plugin structures start with a type and a version.
|
||||
*/
|
||||
struct generic_plugin {
|
||||
unsigned int type;
|
||||
unsigned int version;
|
||||
/* the rest depends on the type... */
|
||||
};
|
||||
|
||||
/*
|
||||
* Backwards-compatible structures for API bumps.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user