Waitrud Weber’s blog

things and reminders for memories

Analyzer: html: http: Step to Robots: found http from text.

Analuze html elements:
We could find string "http"

---

token: h / mode_token:0
start of found_first_literals: h
g000 i: 0
end of m_fread: 1
fread: 1
end of m_fread: 1
start of put_token: m_size=256 m_cnt_tkn=1
put_token:token=ht
end of put_token:
g000 token=ht
g000 i: 1
end of m_fread: 1
fread: 1
end of m_fread: 1
start of put_token: m_size=256 m_cnt_tkn=2
put_token:token=htt
end of put_token:
g000 token=htt
g000 i: 2
end of m_fread: 1
fread: 1
end of m_fread: 1
start of put_token: m_size=256 m_cnt_tkn=3
put_token:token=http
end of put_token:
g000 token=http
end of found_first_literals: 2
found 2
end of aToken::getToken return |http| found 2
found http: |(null)|

---


We used the below functions like the methods of Java

 

 

class aToken: char* getToken_001( FILE *fp, int *index, int *file_end ); int found_first_literals_001( char* p_token, FILE *fp, int *index, int *file_end );   Created: Created:
class Analyzer: int parse_001 ( char* filename ) ;   Created: