summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-23 09:38:11 +0100
committersin <sin@2f30.org>2014-09-23 09:40:35 +0100
commit25ba33334d2e5ee0ae78513923d2902798f285fc (patch)
tree005bfd669c6960cb04394bf0cb8f86c567666d40 /util.h
parentea2da3a713a6f1d6383c13394584fea74f906e5a (diff)
Add frienddestroy() and refactor removefriend()
friendcreate() populates the fs, frienddestroy() removes the friend related files from the fs. removefriend() only acts on the data from the friend's remove fifo. The "callback" in this case is responsible for reading the fifo like in all other cases (sendfriendtext() etc.). No weird dance with special function arguments to flag "official" removal. All friend related "callbacks" just need to operate on a struct friend *.
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions