File: global.c

package info (click to toggle)
gnome-network 1.0.2-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,968 kB
  • ctags: 1,007
  • sloc: ansic: 8,129; sh: 6,837; objc: 961; makefile: 251
file content (28 lines) | stat: -rw-r--r-- 420 bytes parent folder | download | duplicates (2)
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
/* GnomeTalk: global variables
 * (C) 1997 the Free Software Foundation
 *
 * Author: Federico Mena
 */

#include <stdlib.h>
#include "gnome.h"
#include "global.h"


char *our_name = NULL;
char *his_name = NULL;
char *his_tty  = NULL;

struct in_addr our_machine_addr;
struct in_addr his_machine_addr;

struct sockaddr_in talk_addr;
int talk_socket;


void
destroy_globals(void)
{
	g_free(his_name);
	g_free(his_tty);
}