summaryrefslogtreecommitdiffabout
path: root/include
authorMichael Krelin <hacker@klever.net>2007-01-03 00:57:27 (UTC)
committer Michael Krelin <hacker@klever.net>2007-01-03 00:57:27 (UTC)
commitf114b9ea0a5cb03d0e9d411090026774d6df44bf (patch) (side-by-side diff)
tree71bc93466d7789b34c14f3639a515fdcf40c2f2d /include
parent555ef5892cba60983f45fea6e6bbb3c3ce2f8532 (diff)
downloadsitecing-f114b9ea0a5cb03d0e9d411090026774d6df44bf.zip
sitecing-f114b9ea0a5cb03d0e9d411090026774d6df44bf.tar.gz
sitecing-f114b9ea0a5cb03d0e9d411090026774d6df44bf.tar.bz2
added request serial tracking to sitecing_interface
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
-rw-r--r--include/sitecing/sitecing_interface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sitecing/sitecing_interface.h b/include/sitecing/sitecing_interface.h
index 0cba2bb..f0210d6 100644
--- a/include/sitecing/sitecing_interface.h
+++ b/include/sitecing/sitecing_interface.h
@@ -14,27 +14,31 @@ namespace sitecing {
/**
* @brief the interface to site-C-ing.
*
* The basic class used to convey communications between the component and
* the sitecing core.
*/
class sitecing_interface {
public:
/**
* Pointer to the output stream.
*/
ostream *out;
+ /**
+ * Serial number of request being processed.
+ */
+ long serial;
/**
* The default constructor doesn't do much.
*/
- sitecing_interface() : out(0) {}
+ sitecing_interface() : out(0), serial(0) {}
/**
* The constructor initializes the output stream pointer.
* @param o the value to initialize the output stream pointer with.
*/
sitecing_interface(ostream* o) : out(o) {}
};
}
#endif /* __SITECING_SITECING_INTERFACE_H */