Skip to content

Commit

Permalink
add bind() prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Jan 26, 2015
1 parent fe71b14 commit 3c7c44f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions net/proto_net.h
Expand Up @@ -26,7 +26,11 @@
#ifndef _PROTO_NET_H_
#define _PROTO_NET_H_

typedef int (*proto_net_bind_f)(struct socket_info *si);

struct proto_net {
int id;
proto_net_bind_f bind;
};

#endif /*_PROTO_NET_H_ */

0 comments on commit 3c7c44f

Please sign in to comment.