Skip to content
Snippets Groups Projects
frontend_setpid.h 383 B
Newer Older
#ifndef __FRONTEND_SETPID_H
#define __FRONTEND_SETPID_H
Jake Drahos's avatar
Jake Drahos committed

#include "pid_common.h"
#include "frontend_common.h"

int frontend_setpid(
		struct backend_conn * conn,
		struct frontend_pid_data * pid_data,
		int mask);

#define SET_P 0x01
#define SET_I 0x02
#define SET_D 0x04

#ifndef SET_ALL
Jake Drahos's avatar
Jake Drahos committed
#define SET_ALL (SET_P | SET_I | SET_D)
#endif /* SET_ALL */
Jake Drahos's avatar
Jake Drahos committed

#endif /* __FRONTEND_SETPID_H */