--- smsdaemon/Spooler.h 2008/12/07 08:44:22 134 +++ smsdaemon/Spooler.h 2008/12/18 06:53:29 196 @@ -1,3 +1,6 @@ +#ifndef __SPOOLER_H__ +#define __SPOOLER_H__ + #include @@ -5,7 +8,7 @@ { public: void enqueue(std::string recipient, std::string message); - std::string dequeue(); + std::string dequeue(); std::string getFilename(); private: @@ -14,8 +17,9 @@ void lock(); void unlock(); - int fd; + int lockfd; std::string filename; }; +#endif // __SPOOLER_H__