Subversion Repositories Kolibri OS

Rev

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

Rev 2793 Rev 2810
Line 15... Line 15...
15
#define UTF		3
15
#define UTF		3
Line 16... Line 16...
16
                      
16
                      
17
 
17
 
18
dword get_URL_part(byte len) {
18
dword get_URL_part(byte len) {
19
	char temp1[1000];
19
	char temp1[1000];
20
	copystr(#URL, #temp1);
20
	strcpy(#temp1, #URL);
21
	temp1[len] = 0x00;
21
	temp1[len] = 0x00;
Line 22... Line 22...
22
	return #temp1;
22
	return #temp1;
Line 23... Line 23...
23
}
23
}
24
 
24
 
25
inline byte chTag(dword text) {return strcmp(#tag,text);}
25
inline byte chTag(dword text) {return strcmp(#tag,text);}
26
 
26
 
27
 
27
 
28
void GetURLfromPageLinks(int id)
28
void GetURLfromPageLinks(int id)
29
{
29
{
30
	j = 0;
30
	int j = 0;
31
	for (i = 0; i <= id - 401; i++)
31
	for (i = 0; i <= id - 401; i++)
32
	{
32
	{
33
		do j++;
33
		do j++;
Line 34... Line 34...
34
		while (page_links[j] <>'|');
34
		while (page_links[j] <>'|');
35
	}
35
	}