summaryrefslogtreecommitdiff
path: root/desktop/netsurf.h
diff options
context:
space:
mode:
authorFrançois Revel <mmu_man@netsurf-browser.org>2008-10-16 20:49:12 +0000
committerFrançois Revel <mmu_man@netsurf-browser.org>2008-10-16 20:49:12 +0000
commite4407cd7e9b9313f6fde24ff503e011823129680 (patch)
tree75d896d1ec2f348bc8aca1181b55162aa033c22a /desktop/netsurf.h
parentce07ebcea8d4c0460b58de7b59bb94734b650cbe (diff)
downloadnetsurf-e4407cd7e9b9313f6fde24ff503e011823129680.tar.gz
netsurf-e4407cd7e9b9313f6fde24ff503e011823129680.tar.bz2
Had to split main() into parts to have netsurf_init() called from one thread, and the loop in another to avoid a deadlock in replicants... hope nobody minds.
svn path=/trunk/netsurf/; revision=5586
Diffstat (limited to 'desktop/netsurf.h')
-rw-r--r--desktop/netsurf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/netsurf.h b/desktop/netsurf.h
index bfb97c539..e25934234 100644
--- a/desktop/netsurf.h
+++ b/desktop/netsurf.h
@@ -28,6 +28,9 @@ extern const char * const netsurf_version;
extern const int netsurf_version_major;
extern const int netsurf_version_minor;
+extern void netsurf_init(int argc, char** argv);
+extern void netsurf_exit(void);
extern int netsurf_main(int argc, char** argv);
+extern int netsurf_main_loop(void);
#endif