mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r15147: make some more stuff static
metze (This used to be commit c49ac7f40d366aad3701623dd36568efb88eccb5)
This commit is contained in:
parent
bc1314bfd3
commit
c53c91963a
@ -228,6 +228,18 @@ static NTSTATUS wreplsrv_out_connect_recv(struct composite_context *c, TALLOC_CT
|
||||
|
||||
}
|
||||
|
||||
struct wreplsrv_pull_table_io {
|
||||
struct {
|
||||
struct wreplsrv_partner *partner;
|
||||
uint32_t num_owners;
|
||||
struct wrepl_wins_owner *owners;
|
||||
} in;
|
||||
struct {
|
||||
uint32_t num_owners;
|
||||
struct wrepl_wins_owner *owners;
|
||||
} out;
|
||||
};
|
||||
|
||||
enum wreplsrv_pull_table_stage {
|
||||
WREPLSRV_PULL_TABLE_STAGE_WAIT_CONNECTION,
|
||||
WREPLSRV_PULL_TABLE_STAGE_WAIT_TABLE_REPLY,
|
||||
@ -318,7 +330,7 @@ static void wreplsrv_pull_table_handler_req(struct wrepl_request *req)
|
||||
return;
|
||||
}
|
||||
|
||||
struct composite_context *wreplsrv_pull_table_send(TALLOC_CTX *mem_ctx, struct wreplsrv_pull_table_io *io)
|
||||
static struct composite_context *wreplsrv_pull_table_send(TALLOC_CTX *mem_ctx, struct wreplsrv_pull_table_io *io)
|
||||
{
|
||||
struct composite_context *c = NULL;
|
||||
struct wreplsrv_service *service = io->in.partner->service;
|
||||
@ -357,8 +369,8 @@ failed:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
NTSTATUS wreplsrv_pull_table_recv(struct composite_context *c, TALLOC_CTX *mem_ctx,
|
||||
struct wreplsrv_pull_table_io *io)
|
||||
static NTSTATUS wreplsrv_pull_table_recv(struct composite_context *c, TALLOC_CTX *mem_ctx,
|
||||
struct wreplsrv_pull_table_io *io)
|
||||
{
|
||||
NTSTATUS status;
|
||||
|
||||
|
@ -20,18 +20,6 @@
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
struct wreplsrv_pull_table_io {
|
||||
struct {
|
||||
struct wreplsrv_partner *partner;
|
||||
uint32_t num_owners;
|
||||
struct wrepl_wins_owner *owners;
|
||||
} in;
|
||||
struct {
|
||||
uint32_t num_owners;
|
||||
struct wrepl_wins_owner *owners;
|
||||
} out;
|
||||
};
|
||||
|
||||
struct wreplsrv_pull_names_io {
|
||||
struct {
|
||||
struct wreplsrv_partner *partner;
|
||||
|
Loading…
x
Reference in New Issue
Block a user