s3:dom_sid Global replace of DOM_SID with struct dom_sid
[nivanova/samba-autobuild/.git] / source3 / libsmb / trustdom_cache.c
index eb52b3588d58d1f4d6ca2d00164ccc64859b28d7..8c8f05f90ecd52e552244b0fa8c8bdd6848678eb 100644 (file)
@@ -95,7 +95,7 @@ static char* trustdom_cache_key(const char* name)
  *         false if store attempt failed
  **/
  
-bool trustdom_cache_store(char* name, char* alt_name, const DOM_SID *sid,
+bool trustdom_cache_store(char* name, char* alt_name, const struct dom_sid *sid,
                           time_t timeout)
 {
        char *key, *alt_key;
@@ -141,7 +141,7 @@ bool trustdom_cache_store(char* name, char* alt_name, const DOM_SID *sid,
  *         false if has expired/doesn't exist
  **/
 
-bool trustdom_cache_fetch(const char* name, DOM_SID* sid)
+bool trustdom_cache_fetch(const char* name, struct dom_sid* sid)
 {
        char *key = NULL, *value = NULL;
        time_t timeout;
@@ -164,7 +164,7 @@ bool trustdom_cache_fetch(const char* name, DOM_SID* sid)
                DEBUG(5, ("trusted domain %s found (%s)\n", name, value));
        }
 
-       /* convert sid string representation into DOM_SID structure */
+       /* convert sid string representation into struct dom_sid structure */
        if(! string_to_sid(sid, value)) {
                sid = NULL;
                SAFE_FREE(value);
@@ -252,7 +252,7 @@ void trustdom_cache_flush(void)
 void update_trustdom_cache( void )
 {
        char **domain_names;
-       DOM_SID *dom_sids;
+       struct dom_sid *dom_sids;
        uint32 num_domains;
        uint32 last_check;
        int time_diff;