"Fossies" - the Fresh Open Source Software Archive

Member "sssd-2.2.3/src/providers/ad/ad_id.h" (30 Nov 2019, 2778 Bytes) of package /linux/misc/sssd-2.2.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "ad_id.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 2.2.2_vs_2.2.3.

    1 /*
    2     SSSD
    3 
    4     Authors:
    5         Stephen Gallagher <sgallagh@redhat.com>
    6 
    7     Copyright (C) 2012 Red Hat
    8 
    9     This program is free software; you can redistribute it and/or modify
   10     it under the terms of the GNU General Public License as published by
   11     the Free Software Foundation; either version 3 of the License, or
   12     (at your option) any later version.
   13 
   14     This program is distributed in the hope that it will be useful,
   15     but WITHOUT ANY WARRANTY; without even the implied warranty of
   16     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   17     GNU General Public License for more details.
   18 
   19     You should have received a copy of the GNU General Public License
   20     along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21 */
   22 
   23 #ifndef AD_ID_H_
   24 #define AD_ID_H_
   25 
   26 struct tevent_req *
   27 ad_account_info_handler_send(TALLOC_CTX *mem_ctx,
   28                               struct ad_id_ctx *id_ctx,
   29                               struct dp_id_data *data,
   30                               struct dp_req_params *params);
   31 
   32 errno_t ad_account_info_handler_recv(TALLOC_CTX *mem_ctx,
   33                                       struct tevent_req *req,
   34                                       struct dp_reply_std *data);
   35 
   36 struct tevent_req *
   37 ad_account_info_send(TALLOC_CTX *mem_ctx,
   38                      struct be_ctx *be_ctx,
   39                      struct ad_id_ctx *id_ctx,
   40                      struct dp_id_data *data);
   41 
   42 errno_t ad_account_info_recv(struct tevent_req *req,
   43                              int *_dp_error,
   44                              const char **_err_msg);
   45 
   46 struct tevent_req *
   47 ad_handle_acct_info_send(TALLOC_CTX *mem_ctx,
   48                          struct dp_id_data *ar,
   49                          struct sdap_id_ctx *ctx,
   50                          struct ad_options *ad_options,
   51                          struct sdap_domain *sdom,
   52                          struct sdap_id_conn_ctx **conn);
   53 errno_t
   54 ad_handle_acct_info_recv(struct tevent_req *req,
   55                          int *_dp_error, const char **_err);
   56 
   57 struct tevent_req *
   58 ad_id_enumeration_send(TALLOC_CTX *mem_ctx,
   59                        struct tevent_context *ev,
   60                        struct be_ctx *be_ctx,
   61                        struct be_ptask *be_ptask,
   62                        void *pvt);
   63 
   64 errno_t
   65 ad_id_enumeration_recv(struct tevent_req *req);
   66 
   67 struct tevent_req *
   68 ad_get_account_domain_send(TALLOC_CTX *mem_ctx,
   69                            struct ad_id_ctx *id_ctx,
   70                            struct dp_get_acct_domain_data *data,
   71                            struct dp_req_params *params);
   72 
   73 errno_t ad_get_account_domain_recv(TALLOC_CTX *mem_ctx,
   74                                    struct tevent_req *req,
   75                                    struct dp_reply_std *data);
   76 
   77 #endif /* AD_ID_H_ */