projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Connections now wait for hosts to be resolved. Delayed connect attempt
[pazpar2-moved-to-github.git]
/
src
/
pazpar2.h
diff --git
a/src/pazpar2.h
b/src/pazpar2.h
index
ef910ab
..
9d42c37
100644
(file)
--- a/
src/pazpar2.h
+++ b/
src/pazpar2.h
@@
-1,4
+1,4
@@
-/* $Id: pazpar2.h,v 1.32 2007-04-21 12:00:54 adam Exp $
+/* $Id: pazpar2.h,v 1.33 2007-04-22 16:41:42 adam Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
@@
-83,6
+83,7
@@
struct connection {
char *ibuf;
int ibufsize;
enum {
char *ibuf;
int ibufsize;
enum {
+ Conn_Resolving,
Conn_Connecting,
Conn_Open,
Conn_Waiting,
Conn_Connecting,
Conn_Open,
Conn_Waiting,
@@
-238,6
+239,7
@@
void pazpar2_add_channel(IOCHAN c);
void pazpar2_event_loop(void);
int host_getaddrinfo(struct host *host);
void pazpar2_event_loop(void);
int host_getaddrinfo(struct host *host);
+void connect_resolver_host(struct host *host);
#endif
#endif