Merge tag 'locks-v3.16-2' of git://git.samba.org/jlayton/linux
[linux/fpc-iii.git] / arch / um / drivers / daemon.h
blobc2dd1951559f3376f9db686b11b6d27c7888e14e
1 /*
2 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
4 */
6 #ifndef __DAEMON_H__
7 #define __DAEMON_H__
9 #include <net_user.h>
11 #define SWITCH_VERSION 3
13 struct daemon_data {
14 char *sock_type;
15 char *ctl_sock;
16 void *ctl_addr;
17 void *data_addr;
18 void *local_addr;
19 int fd;
20 int control;
21 void *dev;
24 extern const struct net_user_info daemon_user_info;
26 extern int daemon_user_write(int fd, void *buf, int len,
27 struct daemon_data *pri);
29 #endif