Changeset 1ee6c18 for crypting.c


Ignore:
Timestamp:
2005-12-08T13:41:53Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
a1f17d4
Parents:
d636233
Message:

Add abstraction layer for storage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • crypting.c

    rd636233 r1ee6c18  
    6767/* USE WITH CAUTION!
    6868   Sets pass without checking */
    69 void setpassnc (irc_t *irc, char *pass) {
     69void setpassnc (irc_t *irc, const char *pass)
     70{
    7071        if (!set_find (irc, "password"))
    7172                set_add (irc, "password", NULL, passchange);
     
    8687}
    8788
    88 int setpass (irc_t *irc, char *pass, char* md5sum) {
     89int setpass (irc_t *irc, const char *pass, char* md5sum) {
    8990        md5_state_t md5state;
    9091        md5_byte_t digest[16];
Note: See TracChangeset for help on using the changeset viewer.