Parent Directory | Revision Log
make smsqueue and SpoolTask report the name of the spoolfile
1 | #include <string> |
2 | |
3 | |
4 | class Spooler |
5 | { |
6 | public: |
7 | void enqueue(std::string recipient, std::string message); |
8 | std::string dequeue(); |
9 | |
10 | std::string getFilename(); |
11 | private: |
12 | std::string findSpoolFilename(); |
13 | |
14 | void lock(); |
15 | void unlock(); |
16 | |
17 | int fd; |
18 | |
19 | std::string filename; |
20 | }; |
ViewVC Help | |
Powered by ViewVC 1.1.20 |