diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2010-05-11 10:30:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-13 02:02:23 -0400 |
commit | 8e1c298c01d4596fa2837913e531a93a791a7bec (patch) | |
tree | 5655c86172a412b78473db6340089217c1787d20 /include/net | |
parent | 107e7be628821dcb78c43adce0331e8ddb40eabd (diff) |
tipc: Update commenting in TIPC API
Eliminate comments in TIPC's main API files that are either obsolete,
incorrect, misleading, or unhelpful. It also adds in one new comment.
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 'include/net')
-rw-r--r-- | include/net/tipc/tipc.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/net/tipc/tipc.h b/include/net/tipc/tipc.h index 9566608c88cf..15af6dca0b49 100644 --- a/include/net/tipc/tipc.h +++ b/include/net/tipc/tipc.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * include/net/tipc/tipc.h: Main include file for TIPC users | 2 | * include/net/tipc/tipc.h: Main include file for TIPC users |
3 | * | 3 | * |
4 | * Copyright (c) 2003-2006, Ericsson AB | 4 | * Copyright (c) 2003-2006, Ericsson AB |
5 | * Copyright (c) 2005, Wind River Systems | 5 | * Copyright (c) 2005,2010 Wind River Systems |
6 | * All rights reserved. | 6 | * All rights reserved. |
7 | * | 7 | * |
8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without |
@@ -126,7 +126,7 @@ int tipc_createport(unsigned int tipc_user, | |||
126 | tipc_msg_event message_cb, | 126 | tipc_msg_event message_cb, |
127 | tipc_named_msg_event named_message_cb, | 127 | tipc_named_msg_event named_message_cb, |
128 | tipc_conn_msg_event conn_message_cb, | 128 | tipc_conn_msg_event conn_message_cb, |
129 | tipc_continue_event continue_event_cb,/* May be zero */ | 129 | tipc_continue_event continue_event_cb, |
130 | u32 *portref); | 130 | u32 *portref); |
131 | 131 | ||
132 | int tipc_deleteport(u32 portref); | 132 | int tipc_deleteport(u32 portref); |
@@ -145,13 +145,13 @@ int tipc_set_portunreturnable(u32 portref, unsigned int isunreturnable); | |||
145 | int tipc_publish(u32 portref, unsigned int scope, | 145 | int tipc_publish(u32 portref, unsigned int scope, |
146 | struct tipc_name_seq const *name_seq); | 146 | struct tipc_name_seq const *name_seq); |
147 | int tipc_withdraw(u32 portref, unsigned int scope, | 147 | int tipc_withdraw(u32 portref, unsigned int scope, |
148 | struct tipc_name_seq const *name_seq); /* 0: all */ | 148 | struct tipc_name_seq const *name_seq); |
149 | 149 | ||
150 | int tipc_connect2port(u32 portref, struct tipc_portid const *port); | 150 | int tipc_connect2port(u32 portref, struct tipc_portid const *port); |
151 | 151 | ||
152 | int tipc_disconnect(u32 portref); | 152 | int tipc_disconnect(u32 portref); |
153 | 153 | ||
154 | int tipc_shutdown(u32 ref); /* Sends SHUTDOWN msg */ | 154 | int tipc_shutdown(u32 ref); |
155 | 155 | ||
156 | int tipc_isconnected(u32 portref, int *isconnected); | 156 | int tipc_isconnected(u32 portref, int *isconnected); |
157 | 157 | ||
@@ -176,7 +176,7 @@ int tipc_send_buf(u32 portref, | |||
176 | 176 | ||
177 | int tipc_send2name(u32 portref, | 177 | int tipc_send2name(u32 portref, |
178 | struct tipc_name const *name, | 178 | struct tipc_name const *name, |
179 | u32 domain, /* 0:own zone */ | 179 | u32 domain, |
180 | unsigned int num_sect, | 180 | unsigned int num_sect, |
181 | struct iovec const *msg_sect); | 181 | struct iovec const *msg_sect); |
182 | 182 | ||
@@ -188,7 +188,7 @@ int tipc_send_buf2name(u32 portref, | |||
188 | 188 | ||
189 | int tipc_forward2name(u32 portref, | 189 | int tipc_forward2name(u32 portref, |
190 | struct tipc_name const *name, | 190 | struct tipc_name const *name, |
191 | u32 domain, /*0: own zone */ | 191 | u32 domain, |
192 | unsigned int section_count, | 192 | unsigned int section_count, |
193 | struct iovec const *msg_sect, | 193 | struct iovec const *msg_sect, |
194 | struct tipc_portid const *origin, | 194 | struct tipc_portid const *origin, |
@@ -228,14 +228,14 @@ int tipc_forward_buf2port(u32 portref, | |||
228 | 228 | ||
229 | int tipc_multicast(u32 portref, | 229 | int tipc_multicast(u32 portref, |
230 | struct tipc_name_seq const *seq, | 230 | struct tipc_name_seq const *seq, |
231 | u32 domain, /* 0:own zone */ | 231 | u32 domain, /* currently unused */ |
232 | unsigned int section_count, | 232 | unsigned int section_count, |
233 | struct iovec const *msg); | 233 | struct iovec const *msg); |
234 | 234 | ||
235 | #if 0 | 235 | #if 0 |
236 | int tipc_multicast_buf(u32 portref, | 236 | int tipc_multicast_buf(u32 portref, |
237 | struct tipc_name_seq const *seq, | 237 | struct tipc_name_seq const *seq, |
238 | u32 domain, /* 0:own zone */ | 238 | u32 domain, |
239 | void *buf, | 239 | void *buf, |
240 | unsigned int size); | 240 | unsigned int size); |
241 | #endif | 241 | #endif |