r12162: More comments.
[samba.git] / source / wrepl_server / wrepl_out_helpers.h
1 /* 
2    Unix SMB/CIFS implementation.
3    
4    WINS Replication server
5    
6    Copyright (C) Stefan Metzmacher      2005
7    
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 2 of the License, or
11    (at your option) any later version.
12    
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17    
18    You should have received a copy of the GNU General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */
22
23 struct wreplsrv_pull_table_io {
24         struct {
25                 struct wreplsrv_partner *partner;
26                 uint32_t num_owners;
27                 struct wrepl_wins_owner *owners;
28         } in;
29         struct {
30                 uint32_t num_owners;
31                 struct wrepl_wins_owner *owners;
32         } out;
33 };
34
35 struct wreplsrv_pull_names_io {
36         struct {
37                 struct wreplsrv_partner *partner;
38                 struct wreplsrv_out_connection *wreplconn;
39                 struct wrepl_wins_owner owner;
40         } in;
41         struct {
42                 uint32_t num_names;
43                 struct wrepl_name *names;
44         } out;
45 };
46
47 struct wreplsrv_pull_cycle_io {
48         struct {
49                 struct wreplsrv_partner *partner;
50                 uint32_t num_owners;
51                 struct wrepl_wins_owner *owners;
52                 struct wreplsrv_out_connection *wreplconn;
53         } in;
54 };
55
56 struct wreplsrv_push_notify_io {
57         struct {
58                 struct wreplsrv_partner *partner;
59                 BOOL inform;
60                 BOOL propagate;
61         } in;
62 };