Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/smbd/process_model.h

    r414 r745  
    2727#include "lib/socket/socket.h"
    2828#include "smbd/service.h"
     29#include "smbd/process_model_proto.h"
    2930
    3031/* modules can use the following to determine if the interface has changed
     
    4243
    4344        /* called at startup when the model is selected */
    44         void (*model_init)(struct tevent_context *);
     45        void (*model_init)(void);
    4546
    4647        /* function to accept new connection */
     
    5657        /* function to create a task */
    5758        void (*new_task)(struct tevent_context *,
    58                          struct loadparm_context *lp_ctx, 
     59                         struct loadparm_context *lp_ctx,
    5960                         const char *service_name,
    6061                         void (*)(struct tevent_context *,
     
    6465
    6566        /* function to terminate a connection or task */
    66         void (*terminate)(struct tevent_context *, struct loadparm_context *lp_ctx, 
     67        void (*terminate)(struct tevent_context *, struct loadparm_context *lp_ctx,
    6768                          const char *reason);
    6869
     
    7980extern const struct model_ops single_ops;
    8081
    81 const struct model_ops *process_model_startup(struct tevent_context *ev, const char *model);
    82 NTSTATUS register_process_model(const void *_ops);
     82const struct model_ops *process_model_startup(const char *model);
     83NTSTATUS register_process_model(const struct model_ops *ops);
    8384NTSTATUS process_model_init(struct loadparm_context *lp_ctx);
    8485
Note: See TracChangeset for help on using the changeset viewer.