summaryrefslogtreecommitdiffstats
path: root/friendfinder/msg_sender.h
blob: 4671b619d641ca1413127106044301ee4ae2141f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __MSG_SENDER_H_
#define __MSG_SENDER_H_

struct nick
{
	char *from;
	char *to;
};

struct msg_part
{
	char **msg_parts;
	int part_count;
};

/* inits main loop of message sender. callbacks are initialized in this function */
void msg_main_loop(void *nicknames);

/* input for message which has to be sent */
void set_txt_msg(char *msg);

/* returns received message */
char* get_txt_msg();

void disconnect_msg_sender();


#endif