1
0
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:
Stefan Metzmacher 2006-04-20 11:42:03 +00:00 committed by Gerald (Jerry) Carter
parent bc1314bfd3
commit c53c91963a
2 changed files with 15 additions and 15 deletions

View File

@ -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;

View File

@ -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;