1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

Consistent naming

This commit is contained in:
James Booth 2012-02-27 01:48:51 +00:00
parent b11b882431
commit aa680b98a2

View File

@ -32,20 +32,15 @@
#include "command.h"
#include "history.h"
static void _profanity_init(int disable_tls);
static void _profanity_event_loop(int *ch, char *cmd, int *size);
static void _process_special_keys(int *ch);
static void profanity_init(int disable_tls)
{
jabber_init(disable_tls);
history_init();
}
void profanity_main(int disable_tls)
{
int cmd_result = TRUE;
profanity_init(disable_tls);
_profanity_init(disable_tls);
inp_non_block();
while(cmd_result == TRUE) {
@ -63,6 +58,12 @@ void profanity_main(int disable_tls)
jabber_disconnect();
}
static void _profanity_init(int disable_tls)
{
jabber_init(disable_tls);
history_init();
}
static void _profanity_event_loop(int *ch, char *cmd, int *size)
{
usleep(1);