summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 19:53:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 19:53:25 +0000
commit65d0d4fb366ef527f7bde471fc809d48fc26ccf2 (patch)
treec891e2dc3666124df1e83fb8ba4f7967322ca32a /include/inspircd.h
parentfabddb3eadde22a8b4a35e44d159a94cfe9580fd (diff)
Moved the contents of the mainloop into a function called InspIRCd::DoOneIteration().
We can then use this to 'yield' if incoming server text is taking too long to process git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3342 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 3978eebf0..5a8dbcf97 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -126,6 +126,7 @@ class InspIRCd
void MoveAfter(std::string modulename, std::string after);
void MoveBefore(std::string modulename, std::string before);
InspIRCd(int argc, char** argv);
+ void DoOneIteration(bool process_module_sockets);
int Run();
};