projects
/
cascardo
/
sgp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow to set friend channel.
[cascardo/sgp.git]
/
src
/
friend.c
diff --git
a/src/friend.c
b/src/friend.c
index
a8c1fc6
..
3047a13
100644
(file)
--- a/
src/friend.c
+++ b/
src/friend.c
@@
-64,3
+64,9
@@
struct sgp_channel * sgp_friend_get_channel(struct sgp_friend *friend)
*/
return friend->channel;
}
+
+void sgp_friend_set_channel(struct sgp_friend *friend,
+ struct sgp_channel *channel)
+{
+ friend->channel = channel;
+}