diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2010-11-30 07:00:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-02 16:34:01 -0500 |
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 81dc12e2882f..a05981fb9176 100644 --- a/net/tipc/user_reg.h +++ b/net/tipc/user_reg.h | |||
@@ -42,6 +42,11 @@ | |||
42 | int tipc_reg_start(void); | 42 | int tipc_reg_start(void); |
43 | void tipc_reg_stop(void); | 43 | void tipc_reg_stop(void); |
44 | 44 | ||
45 | typedef void (*tipc_mode_event)(void *usr_handle, int mode, u32 addr); | ||
46 | |||
47 | int tipc_attach(unsigned int *userref, tipc_mode_event, void *usr_handle); | ||
48 | void tipc_detach(unsigned int userref); | ||
49 | |||
45 | int tipc_reg_add_port(struct user_port *up_ptr); | 50 | int tipc_reg_add_port(struct user_port *up_ptr); |
46 | int tipc_reg_remove_port(struct user_port *up_ptr); | 51 | int tipc_reg_remove_port(struct user_port *up_ptr); |
47 | 52 | ||