~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to net/bluetooth/cmtp/cmtp.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#define CMTP_LOOPBACK   0
38
38
 
39
39
struct cmtp_connadd_req {
40
 
        int   sock;     // Connected socket
 
40
        int   sock;     /* Connected socket */
41
41
        __u32 flags;
42
42
};
43
43
 
81
81
 
82
82
        char name[BTNAMSIZ];
83
83
 
84
 
        atomic_t terminate;
 
84
        struct task_struct *task;
85
85
 
86
86
        wait_queue_head_t wait;
87
87
 
121
121
 
122
122
void cmtp_recv_capimsg(struct cmtp_session *session, struct sk_buff *skb);
123
123
 
124
 
static inline void cmtp_schedule(struct cmtp_session *session)
125
 
{
126
 
        struct sock *sk = session->sock->sk;
127
 
 
128
 
        wake_up_interruptible(sk_sleep(sk));
129
 
}
130
 
 
131
124
/* CMTP init defines */
132
125
int cmtp_init_sockets(void);
133
126
void cmtp_cleanup_sockets(void);