Back to index

courier  0.68.2
cmlmsubunsub.h
Go to the documentation of this file.
00001 #ifndef cmlmsubunsub_h
00002 #define cmlmsubunsub_h
00003 
00004 /*
00005 ** Copyright 2000-2007 Double Precision, Inc.
00006 ** See COPYING for distribution information.
00007 */
00008 
00009 
00010 #include      "config.h"
00011 #include      "cmlm.h"
00012 #include      "afx/afx.h"
00013 
00014 #include      <vector>
00015 
00016 int cmdsub(const std::vector<std::string> &);    // Manual subscribe
00017 int cmdunsub(const std::vector<std::string> &);  // Manual unsubscribe
00018 
00019 int docmdsub(const char *, std::string);
00020 int docmdsub(const char *, std::string, bool addheader);
00021 // Do the subscription action
00022 
00023 int docmdunsub(const char *, std::string);       // Do the unsubscription action
00024 
00025 int docmdunsub_bounce(std::string, std::string); // Unsub due to bounces
00026 #endif