socket.h
author Tero Marttila <terom@fixme.fi>
Mon, 07 Jul 2008 04:36:03 +0300
changeset 27 1e79b4cc8f1b
parent 26 6d615203d963
child 38 9894df13b779
permissions -rw-r--r--
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up

committer: Tero Marttila <terom@fixme.fi>
26
6d615203d963 support for PF_LOCAL, it works, but needs some more testing/cleanup old code
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     1
#ifndef SOCKET_H
6d615203d963 support for PF_LOCAL, it works, but needs some more testing/cleanup old code
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     2
#define SOCKET_H
6d615203d963 support for PF_LOCAL, it works, but needs some more testing/cleanup old code
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     3
6d615203d963 support for PF_LOCAL, it works, but needs some more testing/cleanup old code
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     4
#include "config.h"
6d615203d963 support for PF_LOCAL, it works, but needs some more testing/cleanup old code
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     5
27
1e79b4cc8f1b support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents: 26
diff changeset
     6
#define SOCKET_LISTEN_BACKLOG 128
26
6d615203d963 support for PF_LOCAL, it works, but needs some more testing/cleanup old code
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     7
6d615203d963 support for PF_LOCAL, it works, but needs some more testing/cleanup old code
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     8
int socket_listen (struct config_endpoint *endpoint, int sock_type);
6d615203d963 support for PF_LOCAL, it works, but needs some more testing/cleanup old code
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     9
int socket_connect_async (struct config_endpoint *endpoint, int sock_type);
6d615203d963 support for PF_LOCAL, it works, but needs some more testing/cleanup old code
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    10
6d615203d963 support for PF_LOCAL, it works, but needs some more testing/cleanup old code
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    11
#endif /* SOCKET_H */