diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2010-11-30 12:00:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-02 13:34:01 -0800 |
commit | d265fef6ddf9042195aae551e1fde211c2a1588b (patch) | |
tree | b9c45caac6e191f6c68df3cc215831ee7e8f1e21 /net/tipc/user_reg.h | |
parent | dca9b2404a6d6579828da2425c051462701efd3f (diff) |
tipc: Remove obsolete native API files and exports
As part of the removal of TIPC's native API support it is no longer
necessary for TIPC to export symbols for routines that can be called
by kernel-based applications, nor for it to have header files that
kernel-based applications can include to access the declarations for
those routines. This commit eliminates the exporting of symbols by
TIPC and migrates the contents of each obsolete native API include
file into its corresponding non-native API equivalent.
The code which was migrated in this commit was migrated intact, in
that there are no technical changes combined with the relocation.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/user_reg.h')
-rw-r--r-- | net/tipc/user_reg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/tipc/user_reg.h b/net/tipc/user_reg.h index 81dc12e2882..a05981fb917 100644 --- a/net/tipc/user_reg.h +++ b/net/tipc/user_reg.h @@ -42,6 +42,11 @@ int tipc_reg_start(void); void tipc_reg_stop(void); +typedef void (*tipc_mode_event)(void *usr_handle, int mode, u32 addr); + +int tipc_attach(unsigned int *userref, tipc_mode_event, void *usr_handle); +void tipc_detach(unsigned int userref); + int tipc_reg_add_port(struct user_port *up_ptr); int tipc_reg_remove_port(struct user_port *up_ptr); |