aboutsummaryrefslogtreecommitdiffstats
path: root/nick.h
diff options
context:
space:
mode:
Diffstat (limited to 'nick.h')
-rw-r--r--nick.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/nick.h b/nick.h
index 9ab1ef1e..31298275 100644
--- a/nick.h
+++ b/nick.h
@@ -23,17 +23,11 @@
Suite 330, Boston, MA 02111-1307 USA
*/
-typedef struct __NICK
-{
- char *handle;
- struct prpl *proto;
- char *nick;
- struct __NICK *next;
-} nick_t;
-
-void nick_set( irc_t *irc, const char *handle, struct prpl *proto, const char *nick );
-char *nick_get( irc_t *irc, const char *handle, struct prpl *proto, const char *realname );
-void nick_del( irc_t *irc, const char *nick );
+void nick_set( account_t *acc, const char *handle, const char *nick );
+char *nick_get( account_t *acc, const char *handle );
+void nick_dedupe( account_t *acc, const char *handle, char nick[MAX_NICK_LENGTH+1] );
+int nick_saved( account_t *acc, const char *handle );
+void nick_del( account_t *acc, const char *handle );
void nick_strip( char *nick );
int nick_ok( const char *nick );