source into separate dir; fixed net.h

This commit is contained in:
tkarrass 2013-11-02 17:38:15 +01:00
parent c98d5ce17c
commit 01fe9c6bf7
6 changed files with 10 additions and 3 deletions

View File

View File

View File

View File

View File

@ -15,9 +15,6 @@
#include "misc.h"
#define PORT(p) PORTSTR(p)
#define PORTSTR(p) #p
void *get_in_addr(struct sockaddr *sa)
{
if (sa->sa_family == AF_INET) {

View File

@ -1,4 +1,14 @@
/* This file was automatically generated. Do not edit! */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
int run_client(const struct prog_info *pinfo,void(*framecallback)(long));
int run_server(const struct prog_info *pinfo);
void *get_in_addr(struct sockaddr *sa);