Subversion Repositories Kolibri OS

Rev

Rev 8016 | Rev 8339 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8016 Rev 8336
Line 4... Line 4...
4
 
4
 
5
struct _cache
5
struct _cache
6
{
6
{
7
	dword current_buf;
7
	dword current_buf;
-
 
8
	dword current_size;
8
	dword current_size;
9
	dword current_type;
9
	collection url;
10
	collection url;
10
	collection_int data;
11
	collection_int data;
11
	collection_int size;
12
	collection_int size;
12
	collection_int type;
13
	collection_int type;
Line 32... Line 33...
32
	int pos;
33
	int pos;
33
	pos = url.get_pos_by_name(_link);
34
	pos = url.get_pos_by_name(_link);
34
	if (pos != -1) {
35
	if (pos != -1) {
35
		current_buf = data.get(pos);
36
		current_buf = data.get(pos);
36
		current_size = size.get(pos);
37
		current_size = size.get(pos);
-
 
38
		current_type = type.get(pos);
37
		return true;
39
		return true;
38
	}
40
	}
39
	return false;
41
	return false;
40
}
42
}