mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 23:53:55 +00:00
committed by
Christian Helmuth
parent
7bed3967ae
commit
e370e08e01
@ -21,31 +21,31 @@
|
||||
|
||||
namespace Libc {
|
||||
|
||||
class Plugin_registry : public List<Plugin>
|
||||
{
|
||||
public:
|
||||
|
||||
Plugin *get_plugin_for_access(char const *pathname, int amode);
|
||||
Plugin *get_plugin_for_execve(char const *filename, char *const argv[],
|
||||
char *const envp[]);
|
||||
Plugin *get_plugin_for_freeaddrinfo(struct addrinfo *res);
|
||||
Plugin *get_plugin_for_getaddrinfo(const char *node, const char *service,
|
||||
const struct addrinfo *hints,
|
||||
struct addrinfo **res);
|
||||
Plugin *get_plugin_for_mkdir(const char *path, mode_t mode);
|
||||
Plugin *get_plugin_for_open(const char *pathname, int flags);
|
||||
Plugin *get_plugin_for_pipe();
|
||||
Plugin *get_plugin_for_readlink(const char *path, char *buf, size_t bufsiz);
|
||||
Plugin *get_plugin_for_rename(const char *oldpath, const char *newpath);
|
||||
Plugin *get_plugin_for_rmdir(const char *path);
|
||||
Plugin *get_plugin_for_socket(int domain, int type, int protocol);
|
||||
Plugin *get_plugin_for_stat(const char *path, struct stat *);
|
||||
Plugin *get_plugin_for_symlink(const char *oldpath, const char *newpath);
|
||||
Plugin *get_plugin_for_unlink(const char *path);
|
||||
};
|
||||
struct Plugin_registry;
|
||||
|
||||
extern Plugin_registry *plugin_registry();
|
||||
|
||||
}
|
||||
|
||||
|
||||
struct Libc::Plugin_registry : List<Plugin>
|
||||
{
|
||||
Plugin *get_plugin_for_access(char const *pathname, int amode);
|
||||
Plugin *get_plugin_for_execve(char const *filename, char *const argv[],
|
||||
char *const envp[]);
|
||||
Plugin *get_plugin_for_freeaddrinfo(struct addrinfo *res);
|
||||
Plugin *get_plugin_for_getaddrinfo(const char *node, const char *service,
|
||||
const struct addrinfo *hints,
|
||||
struct addrinfo **res);
|
||||
Plugin *get_plugin_for_mkdir(const char *path, mode_t mode);
|
||||
Plugin *get_plugin_for_open(const char *pathname, int flags);
|
||||
Plugin *get_plugin_for_pipe();
|
||||
Plugin *get_plugin_for_readlink(const char *path, char *buf, ::size_t bufsiz);
|
||||
Plugin *get_plugin_for_rename(const char *oldpath, const char *newpath);
|
||||
Plugin *get_plugin_for_rmdir(const char *path);
|
||||
Plugin *get_plugin_for_socket(int domain, int type, int protocol);
|
||||
Plugin *get_plugin_for_stat(const char *path, struct stat *);
|
||||
Plugin *get_plugin_for_symlink(const char *oldpath, const char *newpath);
|
||||
Plugin *get_plugin_for_unlink(const char *path);
|
||||
};
|
||||
|
||||
#endif /* _LIBC_PLUGIN__PLUGIN_REGISTRY_H_ */
|
||||
|
Reference in New Issue
Block a user