]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/net/tipc/tipc.h
tipc: cleanup function namespace
[net-next-2.6.git] / include / net / tipc / tipc.h
index 15af6dca0b493f982f6de117402a19f04c7b03a1..1e0645e1eed22c9b26156c6f285b68f1be38256e 100644 (file)
@@ -50,8 +50,6 @@
  * TIPC operating mode routines
  */
 
-u32 tipc_get_addr(void);
-
 #define TIPC_NOT_RUNNING  0
 #define TIPC_NODE_MODE    1
 #define TIPC_NET_MODE     2
@@ -62,8 +60,6 @@ int tipc_attach(unsigned int *userref, tipc_mode_event, void *usr_handle);
 
 void tipc_detach(unsigned int userref);
 
-int tipc_get_mode(void);
-
 /*
  * TIPC port manipulation routines
  */
@@ -153,12 +149,6 @@ int tipc_disconnect(u32 portref);
 
 int tipc_shutdown(u32 ref);
 
-int tipc_isconnected(u32 portref, int *isconnected);
-
-int tipc_peer(u32 portref, struct tipc_portid *peer);
-
-int tipc_ref_valid(u32 portref); 
-
 /*
  * TIPC messaging routines
  */
@@ -170,38 +160,12 @@ int tipc_send(u32 portref,
              unsigned int num_sect,
              struct iovec const *msg_sect);
 
-int tipc_send_buf(u32 portref,
-                 struct sk_buff *buf,
-                 unsigned int dsz);
-
 int tipc_send2name(u32 portref, 
                   struct tipc_name const *name, 
                   u32 domain,
                   unsigned int num_sect,
                   struct iovec const *msg_sect);
 
-int tipc_send_buf2name(u32 portref,
-                      struct tipc_name const *name,
-                      u32 domain,
-                      struct sk_buff *buf,
-                      unsigned int dsz);
-
-int tipc_forward2name(u32 portref, 
-                     struct tipc_name const *name, 
-                     u32 domain,
-                     unsigned int section_count,
-                     struct iovec const *msg_sect,
-                     struct tipc_portid const *origin,
-                     unsigned int importance);
-
-int tipc_forward_buf2name(u32 portref,
-                         struct tipc_name const *name,
-                         u32 domain,
-                         struct sk_buff *buf,
-                         unsigned int dsz,
-                         struct tipc_portid const *orig,
-                         unsigned int importance);
-
 int tipc_send2port(u32 portref,
                   struct tipc_portid const *dest,
                   unsigned int num_sect,
@@ -212,46 +176,11 @@ int tipc_send_buf2port(u32 portref,
                       struct sk_buff *buf,
                       unsigned int dsz);
 
-int tipc_forward2port(u32 portref,
-                     struct tipc_portid const *dest,
-                     unsigned int num_sect,
-                     struct iovec const *msg_sect,
-                     struct tipc_portid const *origin,
-                     unsigned int importance);
-
-int tipc_forward_buf2port(u32 portref,
-                         struct tipc_portid const *dest,
-                         struct sk_buff *buf,
-                         unsigned int dsz,
-                         struct tipc_portid const *orig,
-                         unsigned int importance);
-
 int tipc_multicast(u32 portref, 
                   struct tipc_name_seq const *seq, 
                   u32 domain,  /* currently unused */
                   unsigned int section_count,
                   struct iovec const *msg);
-
-#if 0
-int tipc_multicast_buf(u32 portref, 
-                      struct tipc_name_seq const *seq, 
-                      u32 domain,
-                      void *buf,
-                      unsigned int size);
-#endif
-
-/*
- * TIPC subscription routines
- */
-
-int tipc_ispublished(struct tipc_name const *name);
-
-/*
- * Get number of available nodes within specified domain (excluding own node)
- */
-
-unsigned int tipc_available_nodes(const u32 domain);
-
 #endif
 
 #endif