diff options
author | Per Liden <per.liden@ericsson.com> | 2006-01-17 18:38:21 -0500 |
---|---|---|
committer | Per Liden <per.liden@ericsson.com> | 2006-01-17 18:45:16 -0500 |
commit | 4323add67792ced172d0d93b8b2e6187023115f1 (patch) | |
tree | 13224010f6f18029fb710a1e0b48392aea90b486 /net/tipc/cluster.h | |
parent | 1e63e681e06d438fdc542d40924a4f155d461bbd (diff) |
[TIPC] Avoid polluting the global namespace
This patch adds a tipc_ prefix to all externally visible symbols.
Signed-off-by: Per Liden <per.liden@ericsson.com>
Diffstat (limited to 'net/tipc/cluster.h')
-rw-r--r-- | net/tipc/cluster.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/net/tipc/cluster.h b/net/tipc/cluster.h index 1ffb095991df..9963642e1058 100644 --- a/net/tipc/cluster.h +++ b/net/tipc/cluster.h | |||
@@ -60,29 +60,29 @@ struct cluster { | |||
60 | }; | 60 | }; |
61 | 61 | ||
62 | 62 | ||
63 | extern struct node **local_nodes; | 63 | extern struct node **tipc_local_nodes; |
64 | extern u32 highest_allowed_slave; | 64 | extern u32 tipc_highest_allowed_slave; |
65 | extern struct node_map cluster_bcast_nodes; | 65 | extern struct node_map tipc_cltr_bcast_nodes; |
66 | 66 | ||
67 | void cluster_remove_as_router(struct cluster *c_ptr, u32 router); | 67 | void tipc_cltr_remove_as_router(struct cluster *c_ptr, u32 router); |
68 | void cluster_send_ext_routes(struct cluster *c_ptr, u32 dest); | 68 | void tipc_cltr_send_ext_routes(struct cluster *c_ptr, u32 dest); |
69 | struct node *cluster_select_node(struct cluster *c_ptr, u32 selector); | 69 | struct node *tipc_cltr_select_node(struct cluster *c_ptr, u32 selector); |
70 | u32 cluster_select_router(struct cluster *c_ptr, u32 ref); | 70 | u32 tipc_cltr_select_router(struct cluster *c_ptr, u32 ref); |
71 | void cluster_recv_routing_table(struct sk_buff *buf); | 71 | void tipc_cltr_recv_routing_table(struct sk_buff *buf); |
72 | struct cluster *cluster_create(u32 addr); | 72 | struct cluster *tipc_cltr_create(u32 addr); |
73 | void cluster_delete(struct cluster *c_ptr); | 73 | void tipc_cltr_delete(struct cluster *c_ptr); |
74 | void cluster_attach_node(struct cluster *c_ptr, struct node *n_ptr); | 74 | void tipc_cltr_attach_node(struct cluster *c_ptr, struct node *n_ptr); |
75 | void cluster_send_slave_routes(struct cluster *c_ptr, u32 dest); | 75 | void tipc_cltr_send_slave_routes(struct cluster *c_ptr, u32 dest); |
76 | void cluster_broadcast(struct sk_buff *buf); | 76 | void tipc_cltr_broadcast(struct sk_buff *buf); |
77 | int cluster_init(void); | 77 | int tipc_cltr_init(void); |
78 | u32 cluster_next_node(struct cluster *c_ptr, u32 addr); | 78 | u32 tipc_cltr_next_node(struct cluster *c_ptr, u32 addr); |
79 | void cluster_bcast_new_route(struct cluster *c_ptr, u32 dest, u32 lo, u32 hi); | 79 | void tipc_cltr_bcast_new_route(struct cluster *c_ptr, u32 dest, u32 lo, u32 hi); |
80 | void cluster_send_local_routes(struct cluster *c_ptr, u32 dest); | 80 | void tipc_cltr_send_local_routes(struct cluster *c_ptr, u32 dest); |
81 | void cluster_bcast_lost_route(struct cluster *c_ptr, u32 dest, u32 lo, u32 hi); | 81 | void tipc_cltr_bcast_lost_route(struct cluster *c_ptr, u32 dest, u32 lo, u32 hi); |
82 | 82 | ||
83 | static inline struct cluster *cluster_find(u32 addr) | 83 | static inline struct cluster *tipc_cltr_find(u32 addr) |
84 | { | 84 | { |
85 | struct _zone *z_ptr = zone_find(addr); | 85 | struct _zone *z_ptr = tipc_zone_find(addr); |
86 | 86 | ||
87 | if (z_ptr) | 87 | if (z_ptr) |
88 | return z_ptr->clusters[1]; | 88 | return z_ptr->clusters[1]; |