aboutsummaryrefslogtreecommitdiffstats
path: root/lib/misc.h
Commit message (Collapse)AuthorAgeLines
* I'm still bored on a long flight. Wrote a script to automatically updateWilmer van der Gaast2013-02-21-1/+1
| | | | | | | my copyright mentions since some were getting pretty stale. Left files not touched since before 2012 alone so that this change doesn't touch almost EVERY source file.
* Solve a whole bunch of Twitter module crashes: Twitter responses seem toWilmer van der Gaast2012-09-22-1/+1
| | | | | | be getting truncated sometimes. Treat this as an error in http_client already instead of returning partial data.
* Moving msn_findheader() to lib/misc.c as get_rfc822_header() so I can use itWilmer van der Gaast2011-12-19-3/+1
| | | | | in OAuth as well. (Need it to find the Content-Type: header.)
* When doing SRV lookups, return an array with all RRs instead of just theWilmer van der Gaast2010-08-10-1/+2
| | | | | | first one. The first isn't always the best one and this is currently causing GTalk issues when talk2.l.google.com (which is currently dead) is first.
* Merging loads of stuff from mainline.Wilmer van der Gaast2010-04-14-0/+1
|\
| * Added a mktime_utc() to misc.c using code that used to be in jabber_util.c.Wilmer van der Gaast2010-04-08-0/+1
| | | | | | | | | | I want to use this in the Twitter module.
* | Start handling CTCPs, in a saner way than before.Wilmer van der Gaast2010-04-12-0/+2
|/
* Some const/etc cleanups submitted by domen@coderock.org back in bug #431.Wilmer van der Gaast2010-03-14-1/+1
|
* Partial fix for #419: Moved normalize() and some other stuff to OSCARWilmer van der Gaast2008-06-22-1/+0
| | | | | | becuase it's the only place where it's used, and using this to strip spaces from all screennames before sending them to BitlBee.
* Moved password hash verification to md5_verify_password() so this can beWilmer van der Gaast2008-03-16-0/+2
| | | | | reused for IRC/OPER passwords (to have encrypted in bitlbee.conf).
* Killed info_string_append() and now showing the IP address of ICQ usersWilmer van der Gaast2008-01-12-1/+0
| | | | | in the "info" command response.
* Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPUWilmer van der Gaast2007-12-12-0/+2
| | | | | usage bug.
* Added word_wrap() function to misc.c and using it at the right places soWilmer van der Gaast2007-10-12-0/+2
| | | | | | that long messages in groupchats also get wrapped properly (instead of truncated).
* Added SRV lookups to automatically find out the correct server for aWilmer van der Gaast2006-10-07-0/+10
| | | | | domain.
* Added "account set" command.Wilmer van der Gaast2006-07-01-0/+3
|
* Added random_bytes() function for better/more reliable randomization andWilmer van der Gaast2006-06-28-3/+7
| | | | | moved set_eval_ops() to a slightly more suitable place.
* Moved Base64-related functions to a separate file and added decode funtions.Wilmer van der Gaast2006-06-25-2/+0
|
* Moving all generic files to lib/ instead of having some in / and some inWilmer van der Gaast2006-06-25-0/+51
protocols/, and adding RC4 code.