Print this page
first pass

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsasl/lib/saslint.h
          +++ new/usr/src/lib/libsasl/lib/saslint.h
↓ open down ↓ 204 lines elided ↑ open up ↑
 205  205    size_t error_buf_len, errdetail_buf_len;
 206  206    char *mechlist_buf;
 207  207    size_t mechlist_buf_len;
 208  208  
 209  209    char *decode_buf;
 210  210  
 211  211    char user_buf[CANON_BUF_SIZE+1], authid_buf[CANON_BUF_SIZE+1];
 212  212  
 213  213  #ifdef _SUN_SDK_
 214  214    struct _sasl_global_context_s *gctx;
 215      -  /* EXPORT DELETE START */
 216      -  /* CRYPT DELETE START */
 217  215  #ifdef _INTEGRATED_SOLARIS_
 218  216    int sun_reg;
 219  217  #endif /* _INTEGRATED_SOLARIS_ */
 220      -  /* CRYPT DELETE END */
 221      -  /* EXPORT DELETE END */
 222  218  #endif /* _SUN_SDK_ */
 223  219  };
 224  220  
 225  221  #ifdef _SUN_SDK_
 226  222  /* track changes in file system */
 227  223  typedef struct _sasl_path_info {
 228  224      char *path;
 229  225      time_t last_changed;
 230  226      struct _sasl_path_info *next;
 231  227  } _sasl_path_info_t;
↓ open down ↓ 1 lines elided ↑ open up ↑
 233  229  
 234  230  /* Server Conn Type Information */
 235  231  
 236  232  typedef struct mechanism
 237  233  {
 238  234      int version;
 239  235      int condition; /* set to SASL_NOUSER if no available users;
 240  236                        set to SASL_CONTINUE if delayed plugn loading */
 241  237      char *plugname; /* for AUTHSOURCE tracking */
 242  238  #ifdef _SUN_SDK_
 243      -    /* EXPORT DELETE START */
 244      -    /* CRYPT DELETE START */
 245  239  #ifdef _INTEGRATED_SOLARIS_
 246  240      int sun_reg;
 247  241  #endif /* _INTEGRATED_SOLARIS_ */
 248      -    /* CRYPT DELETE END */
 249      -    /* EXPORT DELETE END */
 250  242      sasl_server_plug_t *plug;
 251  243          /*
 252  244           * The global context needs to be stored with separately from the       
 253  245           * the plugin because it will be overwritten when the plugin is
 254  246           * relloaded
 255  247           */
 256  248      void *glob_context;
 257  249      struct mechanism *next;
 258  250  #else
 259  251      const sasl_server_plug_t *plug;
↓ open down ↓ 31 lines elided ↑ open up ↑
 291  283  } sasl_server_conn_t;
 292  284  
 293  285  /* Client Conn Type Information */
 294  286  
 295  287  typedef struct cmechanism
 296  288  {
 297  289      int version;
 298  290  
 299  291      char *plugname;
 300  292  #ifdef _SUN_SDK_
 301      -    /* EXPORT DELETE START */
 302      -    /* CRYPT DELETE START */
 303  293  #ifdef _INTEGRATED_SOLARIS_
 304  294      int sun_reg;
 305  295  #endif /* _INTEGRATED_SOLARIS_ */
 306      -    /* CRYPT DELETE END */
 307      -    /* EXPORT DELETE END */
 308  296          /*
 309  297           * The global context needs to be stored with separately from the       
 310  298           * the plugin because it will be overwritten when the plugin is
 311  299           * relloaded
 312  300           */
 313  301      void *glob_context;
 314  302      sasl_client_plug_t *plug;
 315  303  #else
 316  304      const sasl_client_plug_t *plug;
 317  305  #endif /* _SUN_SDK_ */
↓ open down ↓ 478 lines elided ↑ open up ↑
 796  784                                     sasl_server_plug_init_t *splugfunc);
 797  785  extern int _sasl_canonuser_add_plugin(void *ctx,
 798  786                                        const char *plugname,
 799  787                                        sasl_canonuser_init_t *canonuserfunc);
 800  788  extern int _sasl_auxprop_add_plugin(void *ctx,
 801  789                                      const char *plugname,
 802  790                                      sasl_auxprop_init_t *auxpropfunc);
 803  791  
 804  792  _sasl_global_context_t *_sasl_gbl_ctx(void);
 805  793  
 806      -/* EXPORT DELETE START */
 807      -/* CRYPT DELETE START */
 808  794  #ifdef _INTEGRATED_SOLARIS_
 809  795  int _is_sun_reg(void *mech);
 810  796  #endif /* _INTEGRATED_SOLARIS_ */
 811      -/* CRYPT DELETE END */
 812      -/* EXPORT DELETE END */
 813  797  
 814  798  /* unsupported functions that are used internally */
 815  799  int sasl_randcreate(sasl_rand_t **rpool);
 816  800  
 817  801  void sasl_randfree(sasl_rand_t **rpool);
 818  802  
 819  803  void sasl_rand(sasl_rand_t *rpool, char *buf, unsigned len);
 820  804  
 821  805  void sasl_churn(sasl_rand_t *rpool, const char *data, unsigned len);
 822  806  
 823  807  int sasl_mkchal(sasl_conn_t *conn, char *buf, unsigned maxlen,
 824  808                  unsigned hostflag);
 825  809  #endif  /* _SUN_SDK_ */
 826  810  
 827  811  #endif /* SASLINT_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX