Changeset 745 for trunk/server/source4/smbd/process_model.h
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source4/smbd/process_model.h
r414 r745 27 27 #include "lib/socket/socket.h" 28 28 #include "smbd/service.h" 29 #include "smbd/process_model_proto.h" 29 30 30 31 /* modules can use the following to determine if the interface has changed … … 42 43 43 44 /* called at startup when the model is selected */ 44 void (*model_init)( struct tevent_context *);45 void (*model_init)(void); 45 46 46 47 /* function to accept new connection */ … … 56 57 /* function to create a task */ 57 58 void (*new_task)(struct tevent_context *, 58 struct loadparm_context *lp_ctx, 59 struct loadparm_context *lp_ctx, 59 60 const char *service_name, 60 61 void (*)(struct tevent_context *, … … 64 65 65 66 /* 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, 67 68 const char *reason); 68 69 … … 79 80 extern const struct model_ops single_ops; 80 81 81 const struct model_ops *process_model_startup( struct tevent_context *ev,const char *model);82 NTSTATUS register_process_model(const void *_ops);82 const struct model_ops *process_model_startup(const char *model); 83 NTSTATUS register_process_model(const struct model_ops *ops); 83 84 NTSTATUS process_model_init(struct loadparm_context *lp_ctx); 84 85
Note:
See TracChangeset
for help on using the changeset viewer.