summaryrefslogtreecommitdiff
path: root/spamfilter/contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'spamfilter/contact.h')
-rw-r--r--spamfilter/contact.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/spamfilter/contact.h b/spamfilter/contact.h
new file mode 100644
index 0000000..80a3e8e
--- /dev/null
+++ b/spamfilter/contact.h
@@ -0,0 +1,41 @@
+/*
+
+"Spam Filter"-Plugin for Miranda IM
+
+Copyright 2003-2006 Heiko Herkenrath
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program ("SpamFilter-License.txt"); if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+
+#ifndef SF_CONTACT_H__
+#define SF_CONTACT_H__ 1
+
+
+// -- Prototypes
+WORD IncreasePreSpammerCount(SPAMCHECKDATA* pscd);
+WORD GetPreSpammerCount(SPAMCHECKDATA* pscd);
+BOOL RemovePreSpammerCount(SPAMCHECKDATA* pscd);
+
+int MarkAllContactEventsUnRead(HANDLE hContact);
+BOOL SendContactAutomatedMessage(HANDLE hContact, WCHAR* pszMessage, BOOL bAddToHistory);
+
+BOOL RemoveContactListGroup(WCHAR* pszGroupName);
+BOOL CreateContactListGroup(WCHAR* pszGroupName);
+
+BOOL RemoveContactFromIgnoreList(HANDLE hContact);
+BOOL AddContactToIgnoreList(HANDLE hContact, BOOL bKeepHistory, BOOL bDenyAuthRequests, BOOL bNoLog);
+
+
+#endif // SF_CONTACT_H__