summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-24 18:15:50 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-24 18:15:50 +0000
commit2752e372b64337de24edef52575ddc7da0ed8d04 (patch)
treee9b99c9174960f4e900ac49528f5dfb96528213e /source3/include
parentd7889cd22347e7acd4effb7682d442eef7a666e4 (diff)
downloadsamba-2752e372b64337de24edef52575ddc7da0ed8d04.tar.gz
samba-2752e372b64337de24edef52575ddc7da0ed8d04.tar.bz2
samba-2752e372b64337de24edef52575ddc7da0ed8d04.zip
WARNING! MOVED rpc_server/srv_lsa_hnd.c TO lib/util_hnd.c
CVS UPDATE MAY ISSUE WARNING ABOUT lib/util_hnd.c MODIFICATION DATE BEING IN THE FUTURE. CVS CHECKOUT A NEW REPOSITORY MAY BE SAFER. (This used to be commit c26e8a6ac59934ae580077df937439c2c538dbdb)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 2307f67cef..be4183b4fc 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -526,6 +526,23 @@ char *fgets_slash(char *s2,int maxlen,FILE *f);
BOOL file_modified(const char *filename, time_t *lastmodified);
void *open_file_if_modified(const char *filename, char *mode, time_t *lastmodified);
+/*The following definitions come from lib/util_hnd.c */
+
+BOOL init_policy_hnd(int num_pol_hnds);
+BOOL open_policy_hnd(POLICY_HND *hnd);
+int find_policy_by_hnd(POLICY_HND *hnd);
+BOOL set_policy_samr_rid(POLICY_HND *hnd, uint32 rid);
+BOOL set_policy_samr_pol_status(POLICY_HND *hnd, uint32 pol_status);
+BOOL set_policy_samr_sid(POLICY_HND *hnd, DOM_SID *sid);
+BOOL get_policy_samr_sid(POLICY_HND *hnd, DOM_SID *sid);
+uint32 get_policy_samr_rid(POLICY_HND *hnd);
+BOOL set_policy_reg_name(POLICY_HND *hnd, fstring name);
+BOOL get_policy_reg_name(POLICY_HND *hnd, fstring name);
+BOOL set_policy_cli_state(POLICY_HND *hnd, struct cli_state *cli, uint16 fnum,
+ void (*free_fn)(struct cli_state *, uint16));
+BOOL get_policy_cli_state(POLICY_HND *hnd, struct cli_state **cli, uint16 *fnum);
+BOOL close_policy_hnd(POLICY_HND *hnd);
+
/*The following definitions come from lib/util_pwdb.c */
uint32 lookup_wk_group_name(const char *group_name, const char *domain,
@@ -3500,23 +3517,6 @@ uint32 lookup_name(char *name, DOM_SID *sid, uint8 *type);
BOOL api_ntlsa_rpc(pipes_struct *p, prs_struct *data);
-/*The following definitions come from rpc_server/srv_lsa_hnd.c */
-
-void init_policy_hnd(int num_pol_hnds);
-BOOL open_policy_hnd(POLICY_HND *hnd);
-int find_policy_by_hnd(POLICY_HND *hnd);
-BOOL set_policy_samr_rid(POLICY_HND *hnd, uint32 rid);
-BOOL set_policy_samr_pol_status(POLICY_HND *hnd, uint32 pol_status);
-BOOL set_policy_samr_sid(POLICY_HND *hnd, DOM_SID *sid);
-BOOL get_policy_samr_sid(POLICY_HND *hnd, DOM_SID *sid);
-uint32 get_policy_samr_rid(POLICY_HND *hnd);
-BOOL set_policy_reg_name(POLICY_HND *hnd, fstring name);
-BOOL get_policy_reg_name(POLICY_HND *hnd, fstring name);
-BOOL set_policy_cli_state(POLICY_HND *hnd, struct cli_state *cli, uint16 fnum,
- void (*free_fn)(struct cli_state *, uint16));
-BOOL get_policy_cli_state(POLICY_HND *hnd, struct cli_state **cli, uint16 *fnum);
-BOOL close_policy_hnd(POLICY_HND *hnd);
-
/*The following definitions come from rpc_server/srv_netlog.c */
BOOL api_netlog_rpc(pipes_struct *p, prs_struct *data);