comparison mcabber/src/histolog.c @ 1205:2de8f8ba1f34

Update copyrights
author Mikael Berthe <mikael@lilotux.net>
date Sat, 28 Apr 2007 22:01:37 +0200
parents e802ec0c02d2
children c33b5b6fbf08
comparison
equal deleted inserted replaced
1204:e802ec0c02d2 1205:2de8f8ba1f34
1 /* 1 /*
2 * histolog.c -- File history handling 2 * histolog.c -- File history handling
3 * 3 *
4 * Copyright (C) 2005, 2006 Mikael Berthe <bmikael@lists.lilotux.net> 4 * Copyright (C) 2005-2007 Mikael Berthe <mikael@lilotux.net>
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify 6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by 7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or (at 8 * the Free Software Foundation; either version 2 of the License, or (at
9 * your option) any later version. 9 * your option) any later version.
351 } 351 }
352 352
353 inline void hlog_write_status(const char *bjid, time_t timestamp, 353 inline void hlog_write_status(const char *bjid, time_t timestamp,
354 enum imstatus status, const char *status_msg) 354 enum imstatus status, const char *status_msg)
355 { 355 {
356 // #1 XXX Check status value? 356 // XXX Check status value?
357 // #2 We could add a user-readable comment
358 write_histo_line(bjid, timestamp, 'S', toupper(imstatus2char[status]), 357 write_histo_line(bjid, timestamp, 'S', toupper(imstatus2char[status]),
359 status_msg); 358 status_msg);
360 } 359 }
361 360
362 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ 361 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */