|
|
#include <sysdep.h>
#include <netdb.h>
#include "new_memory.h"
#include "new_string.h"
#include "int_dictionary.h"
#include "jwgc.h"
#include "subscriptions.h"
#include "error.h"
#include "file.h"
#include "main.h"
Go to the source code of this file.
Defines | |
#define | BATCH_SIZE 20 |
#define | TOKEN_HOSTNAME "%host%" |
#define | TOKEN_CANONNAME "%canon%" |
#define | TOKEN_ME "%me%" |
#define | TOKEN_WILD "*" |
#define | UNSUBSCRIBE_CHARACTER '!' |
#define | PUNT_CHARACTER '-' |
#define | DEFSUBS "/dev/null" |
Functions | |
int | puntable_address_p (string class, string instance, string recipient) |
void | punt (string class, string instance, string recipient) |
void | unpunt (string class, string instance, string recipient) |
Variables | |
char | ourhost [MAXHOSTNAMELEN] |
char | ourhostcanon [MAXHOSTNAMELEN] |
|
Definition at line 128 of file subscriptions.c. |
|
Definition at line 320 of file subscriptions.c. |
|
Definition at line 254 of file subscriptions.c. |
|
Definition at line 212 of file subscriptions.c. |
|
Definition at line 211 of file subscriptions.c. |
|
Definition at line 213 of file subscriptions.c. |
|
Definition at line 214 of file subscriptions.c. |
|
Definition at line 253 of file subscriptions.c. |
|
Definition at line 84 of file subscriptions.c. References int_dictionary_Define(), and string. 00088 { 00089 string temp; 00090 00091 if (!puntable_addresses_dict) 00092 init_puntable_dict(); 00093 00094 temp = address_to_string(class, instance, recipient); 00095 (void) int_dictionary_Define(puntable_addresses_dict, temp, 0); 00096 free(temp); 00097 }
|
|
Definition at line 63 of file subscriptions.c. References int_dictionary_Lookup(), and string. 00067 { 00068 string temp; 00069 00070 if (!puntable_addresses_dict) 00071 init_puntable_dict(); 00072 00073 temp = address_to_string(class, instance, recipient); 00074 if (int_dictionary_Lookup(puntable_addresses_dict, temp)) { 00075 free(temp); 00076 return (1); 00077 } 00078 00079 free(temp); 00080 return (0); 00081 }
|
|
Definition at line 100 of file subscriptions.c. References int_dictionary_binding, int_dictionary_Define(), int_dictionary_Delete(), and string. 00104 { 00105 string temp; 00106 int_dictionary_binding *binding; 00107 00108 if (!puntable_addresses_dict) 00109 init_puntable_dict(); 00110 00111 temp = address_to_string(class, instance, recipient); 00112 binding = int_dictionary_Define(puntable_addresses_dict, temp, 0); 00113 free(temp); 00114 if (binding) 00115 int_dictionary_Delete(puntable_addresses_dict, binding); 00116 }
|
|
Definition at line 216 of file subscriptions.c. |
|
Definition at line 216 of file subscriptions.c. |
Last updated at Tue Dec 18 21:07:42 PST 2007. | This site and project hosted by... |