/asus-wl-520gu-7.0.1.45/src/router/samba/testsuite/printing/ |
H A D | vlp.c | 53 fstring keystr; local 56 slprintf(keystr, sizeof(keystr) - 1, "LPQ/%s", printer); 57 data = tdb_fetch_by_string(tdb, keystr); 68 fstring keystr; local 70 slprintf(keystr, sizeof(keystr) - 1, "LPQ/%s", printer); 72 tdb_store_by_string(tdb, keystr, job_list, 80 fstring keystr; local 83 slprintf(keystr, sizeo 105 fstring keystr; local 114 fstring keystr; local 214 fstring keystr; local [all...] |
H A D | psec.c | 164 fstring keystr, sidstr, tdb_path; local 185 slprintf(keystr, sizeof(keystr) - 1, "SECDESC/%s", printer); 195 if (tdb_prs_fetch(tdb, keystr, &ps, mem_ctx) != 0) { 266 fstring line, keystr, tdb_path; local 364 slprintf(keystr, sizeof(keystr) - 1, "SECDESC/%s", printer); 366 if (!tdb_prs_store(tdb, keystr, &ps)==0) {
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/ |
H A D | gencache.c | 97 * @param keystr string that represents a key of this entry 105 BOOL gencache_set(const char *keystr, const char *value, time_t timeout) argument 112 SMB_ASSERT(keystr && value); 120 keybuf.dptr = strdup(keystr); 121 keybuf.dsize = strlen(keystr)+1; 141 * @param keystr string that represents a key of this entry 149 BOOL gencache_set_only(const char *keystr, const char *valstr, time_t timeout) argument 157 SMB_ASSERT(keystr && valstr); 165 gencache_get(keystr, &old_valstr, &old_timeout); 170 = %s\n", keystr, old_valst 202 gencache_del(const char *keystr) argument 235 gencache_get(const char *keystr, char **valstr, time_t *timeout) argument 309 char *keystr = NULL, *valstr = NULL, *entry = NULL; local [all...] |
H A D | wins_srv.c | 73 char *keystr = NULL, *wins_ip_addr = NULL, *src_ip_addr = NULL; local 83 if (asprintf(&keystr, WINS_SRV_FMT, wins_ip_addr, src_ip_addr) == -1) { 91 return keystr; 100 char *keystr = wins_srv_keystr(wins_ip, src_ip); local 105 result = gencache_get(keystr, NULL, NULL); 106 SAFE_FREE(keystr); 120 char *keystr = wins_srv_keystr(wins_ip, src_ip); local 122 gencache_del(keystr); 123 SAFE_FREE(keystr); 134 char *keystr; local [all...] |
H A D | adt_tree.c | 383 char *keystr, *base, *str, *p; local 408 keystr = strdup( key+1 ); 410 keystr = strdup( key ); 412 if ( !keystr ) { 419 p = keystr; 457 SAFE_FREE( keystr );
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/utils/ |
H A D | net_cache.c | 37 static void print_cache_entry(const char* keystr, const char* datastr, argument 59 d_printf("Key: %s\t Timeout: %s\t Value: %s %s\n", keystr, 63 static void delete_cache_entry(const char* keystr, const char* datastr, argument 66 if (!gencache_del(keystr)) 67 d_printf("Couldn't delete entry! key = %s\n", keystr); 135 const char *keystr, *datastr, *timeout_str; local 143 keystr = argv[0]; 154 if (gencache_set(keystr, datastr, timeout)) { 175 const char *keystr, *datastr, *timeout_str; local 183 keystr 214 const char *keystr = argv[0]; local 239 const char* keystr = argv[0]; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/passdb/ |
H A D | pdb_tdb.c | 163 fstring keystr; local 177 slprintf(keystr, sizeof(keystr)-1, "%s%s", USERPREFIX, name); 178 key.dptr = keystr; 179 key.dsize = strlen(keystr) + 1; 210 DEBUGADD(5, (" Key: %s\n", keystr)); 240 fstring keystr; local 249 slprintf(keystr, sizeof(keystr)-1, "%s%.8x", RIDPREFIX, rid); 250 key.dptr = keystr; 294 fstring keystr; local 352 fstring keystr; local [all...] |
H A D | secrets.c | 214 static fstring keystr; local 216 slprintf(keystr,sizeof(keystr)-1,"%s/%s", 218 strupper_m(keystr); 220 return keystr; 232 static pstring keystr; local 234 pstr_sprintf(keystr, "%s/%s", SECRETS_DOMTRUST_ACCT_PASS, domain); 235 strupper_m(keystr); 237 return keystr;
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/libsmb/ |
H A D | samlogon_cache.c | 114 fstring keystr; local 130 slprintf(keystr, sizeof(keystr), "%s", sid_string_static(&user_sid)); 132 DEBUG(10,("netsamlogon_cache_store: SID [%s]\n", keystr)); 146 if (tdb_store_bystring(netsamlogon_tdb, keystr, data, TDB_REPLACE) != -1) 165 fstring keystr; local 174 slprintf(keystr, sizeof(keystr), "%s", sid_string_static(user_sid)); 175 DEBUG(10,("netsamlogon_cache_get: SID [%s]\n", keystr)); 176 key.dptr = keystr; [all...] |
H A D | namecache.c | 98 char *keystr; local 99 asprintf(&keystr, NBTKEY_FMT, strupper_static(name), name_type); 101 return keystr; 255 char *keystr; local 257 asprintf(&keystr, "NBT/%s#%02X.%02X.%s", 259 return keystr;
|
H A D | trustdom_cache.c | 93 char* keystr = NULL; local 94 asprintf(&keystr, TDOMKEY_FMT, strupper_static(name)); 96 return keystr;
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/tdb/ |
H A D | tdbutil.c | 169 int32 tdb_fetch_int32(TDB_CONTEXT *tdb, const char *keystr) argument 171 return tdb_fetch_int32_byblob(tdb, keystr, strlen(keystr) + 1); 179 int tdb_store_int32_byblob(TDB_CONTEXT *tdb, const char *keystr, size_t len, int32 v) argument 181 TDB_DATA key = make_tdb_data(keystr, len); 197 int tdb_store_int32(TDB_CONTEXT *tdb, const char *keystr, int32 v) argument 199 return tdb_store_int32_byblob(tdb, keystr, strlen(keystr) + 1, v); 228 BOOL tdb_fetch_uint32(TDB_CONTEXT *tdb, const char *keystr, uint32 *value) argument 230 return tdb_fetch_uint32_byblob(tdb, keystr, strle 238 tdb_store_uint32_byblob(TDB_CONTEXT *tdb, const char *keystr, size_t len, uint32 value) argument 260 tdb_store_uint32(TDB_CONTEXT *tdb, const char *keystr, uint32 value) argument 269 tdb_store_bystring(TDB_CONTEXT *tdb, const char *keystr, TDB_DATA data, int flags) argument 281 tdb_fetch_bystring(TDB_CONTEXT *tdb, const char *keystr) argument 292 tdb_delete_bystring(TDB_CONTEXT *tdb, const char *keystr) argument 303 tdb_change_int32_atomic(TDB_CONTEXT *tdb, const char *keystr, int32 *oldval, int32 change_val) argument 344 tdb_change_uint32_atomic(TDB_CONTEXT *tdb, const char *keystr, uint32 *oldval, uint32 change_val) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/sam/ |
H A D | idmap_tdb.c | 170 fstring keystr; local 178 slprintf(keystr, sizeof(keystr), "UID %lu", (unsigned long)id.uid); 181 slprintf(keystr, sizeof(keystr), "GID %lu", (unsigned long)id.gid); 187 key.dptr = keystr; 188 key.dsize = strlen(keystr) + 1; 190 DEBUG(10,("internal_get_sid_from_id: fetching record %s\n", keystr )); 196 DEBUG(10,("internal_get_sid_from_id: fetching record %s -> %s\n", keystr, data.dptr )); 211 fstring keystr; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbd/ |
H A D | session.c | 41 fstring keystr; local 71 slprintf(keystr, sizeof(keystr)-1, "ID/%d", i); 72 key.dptr = keystr; 73 key.dsize = strlen(keystr)+1; 87 slprintf(keystr, sizeof(keystr)-1, "ID/%lu/%u", 94 key.dptr = keystr; 95 key.dsize = strlen(keystr)+1; 144 vuser->session_keystr = strdup(keystr); [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/registry/ |
H A D | reg_printing.c | 98 char *keystr; local 138 keystr = key2; 139 reg_split_path( keystr, &base, &new_path ); 187 keystr = new_path; 188 reg_split_path( keystr, &base, &new_path ); 229 char *keystr; local 259 keystr = key2; 260 reg_split_path( keystr, &base, &new_path ); 267 keystr = new_path; 268 reg_split_path( keystr, 467 char *keystr, *key2 = NULL; local 523 char *keystr, *key2 = NULL; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/infosvr/ |
H A D | packet.h | 102 void PackKey(int keytype, char *keystr, char *key1, char *key2, char *key3, char *key4); 103 void UnpackKey(int keytype, char *keystr, char *key1, char *key2, char *key3, char *key4);
|
H A D | packet.c | 39 void PackKey(int keytype, char *keystr, char *key1, char *key2, char *key3, char *key4) argument 44 memset(keystr, 0, 64); 59 keystr[i] = strtoul(tmp, 0, 16); 65 keystr[i+16] = strtoul(tmp, 0, 16); 71 keystr[i+32] = strtoul(tmp, 0, 16); 77 keystr[i+48] = strtoul(tmp, 0, 16); 81 void UnpackKey(int keytype, char *keystr, char *key1, char *key2, char *key3, char *key4) argument 94 sprintf(key1, "%s%02x", key1, (unsigned char)keystr[i]); 95 sprintf(key2, "%s%02x", key2, (unsigned char)keystr[i+16]); 96 sprintf(key3, "%s%02x", key3, (unsigned char)keystr[ [all...] |
H A D | wlutils.c | 161 char *keystr, hex[3]; local 208 if (i==0) keystr = profile->wepkey1; 209 else if (i==1) keystr = profile->wepkey2; 210 else if (i==2) keystr = profile->wepkey3; 211 else if (i==3) keystr = profile->wepkey4; 224 strncpy(key.data, keystr, key.len);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/printing/ |
H A D | printing.c | 768 fstring keystr; local 775 slprintf(keystr, sizeof(keystr)-1, "UPDATING/%s", printer_name); 776 key.dptr = keystr; 777 key.dsize = strlen(keystr); 802 fstring keystr; local 811 slprintf(keystr, sizeof(keystr)-1, "UPDATING/%s", printer_name); 812 key.dptr = keystr; 813 key.dsize = strlen(keystr); 950 fstring keystr, printer_name, cachestr; local 1748 fstring keystr; local 2237 fstring keystr; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/storage/ |
H A D | debug.c | 240 char *keystr = 0; local 246 keystr = "(Unknown Key)"; 248 keystr = keys[key]; 360 " %02X\n", keystr, ascq); 365 " algorithm ID of %02X\n", keystr, ascq); 371 US_DEBUGP("%s: %s\n", keystr, what);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/nsswitch/ |
H A D | winbindd_acct.c | 371 char *keystr; local 381 keystr = acct_userkey_byname( name ); 383 data = tdb_fetch_bystring( account_tdb, keystr ); 403 char *keystr; local 417 keystr = acct_userkey_byname( data.dptr ); 421 data = tdb_fetch_bystring( account_tdb, keystr ); 500 char *keystr; local 510 keystr = acct_groupkey_byname( name ); 512 data = tdb_fetch_bystring( account_tdb, keystr ); 532 char *keystr; local [all...] |
H A D | winbindd_util.c | 717 fstring keystr; local 752 sid_to_string(keystr, &sid); 753 key2.dptr = keystr; 754 key2.dsize = strlen(keystr) + 1;
|
H A D | winbindd_cache.c | 384 static BOOL centry_expired(struct winbindd_domain *domain, const char *keystr, struct cache_entry *centry) argument 391 keystr, domain->name )); 400 keystr, domain->name )); 405 keystr, domain->name ));
|
/asus-wl-520gu-7.0.1.45/src/router/wlconf/ |
H A D | wlconf.c | 124 char *keystr, hex[] = "XX"; local 131 keystr = nvram_safe_get(wl_key); 133 switch (strlen(keystr)) { 136 key.len = strlen(keystr); 137 strcpy((char *)key.data, keystr); 141 key.len = strlen(keystr) / 2; 142 while (*keystr) { 143 strncpy(hex, keystr, 2); 145 keystr += 2;
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/rpc_parse/ |
H A D | parse_prs.c | 1289 int tdb_prs_store(TDB_CONTEXT *tdb, char *keystr, prs_struct *ps) argument 1292 kbuf.dptr = keystr; 1293 kbuf.dsize = strlen(keystr)+1; 1300 int tdb_prs_fetch(TDB_CONTEXT *tdb, char *keystr, prs_struct *ps, TALLOC_CTX *mem_ctx) argument 1303 kbuf.dptr = keystr; 1304 kbuf.dsize = strlen(keystr)+1;
|