Changeset 1eddf6b for nick.h


Ignore:
Timestamp:
2005-12-08T12:30:43Z (16 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
c2295f7
Parents:
c3ffa45
Message:

Add some const

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nick.h

    rc3ffa45 r1eddf6b  
    3232} nick_t;
    3333
    34 void nick_set( irc_t *irc, char *handle, int proto, char *nick );
    35 char *nick_get( irc_t *irc, char *handle, int proto, const char *realname );
    36 void nick_del( irc_t *irc, char *nick );
     34void nick_set( irc_t *irc, const char *handle, int proto, const char *nick );
     35char *nick_get( irc_t *irc, const char *handle, int proto, const char *realname );
     36void nick_del( irc_t *irc, const char *nick );
    3737void nick_strip( char *nick );
    3838
    39 int nick_ok( char *nick );
     39int nick_ok( const char *nick );
    4040int nick_lc( char *nick );
    4141int nick_uc( char *nick );
    42 int nick_cmp( char *a, char *b );
    43 char *nick_dup( char *nick );
     42int nick_cmp( const char *a, const char *b );
     43char *nick_dup( const char *nick );
Note: See TracChangeset for help on using the changeset viewer.