Mercurial > dnsbl
comparison src/context.cpp @ 164:5809bcdc325b stable-6-0-4
spamassassin changes
author | carl |
---|---|
date | Sun, 26 Aug 2007 19:43:35 -0700 |
parents | 97d7da45fe2a |
children | 9b129ed78d7d |
comparison
equal
deleted
inserted
replaced
163:97d7da45fe2a | 164:5809bcdc325b |
---|---|
1043 //////////////////////////////////////////////// | 1043 //////////////////////////////////////////////// |
1044 // register a global string | 1044 // register a global string |
1045 // | 1045 // |
1046 char* register_string(char *name) { | 1046 char* register_string(char *name) { |
1047 return register_string(all_strings, name); | 1047 return register_string(all_strings, name); |
1048 } | |
1049 | |
1050 | |
1051 //////////////////////////////////////////////// | |
1052 // clear all global strings, helper for valgrind checking | |
1053 // | |
1054 void clear_strings() { | |
1055 discard(all_strings); | |
1048 } | 1056 } |
1049 | 1057 |
1050 | 1058 |
1051 //////////////////////////////////////////////// | 1059 //////////////////////////////////////////////// |
1052 // | 1060 // |