summaryrefslogblamecommitdiffstats
path: root/friendfinder/msg_sender.h
blob: 4671b619d641ca1413127106044301ee4ae2141f (plain) (tree)
1
2
3
4
5
6
7
8
9


                       




                   
 





                         

                                                                                   






                                            
                             


      
#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