Re: [squid-users] Squid SDK

2011-06-28 Thread Amos Jeffries
On 28/06/11 16:21, Mohsen Pahlevanzadeh wrote: Hi, We must write a program that along with normal tasks, it had do a variety of jobs,But i need to PURGE and insert cache. Filling a glass of water is what I would call a normal task. It does not involve doing anything with a Squid cache. I

Re: [squid-users] Squid SDK

2011-06-28 Thread Mohsen Pahlevanzadeh
Dear Amos, I must a write a web appl thet it manages squid with many extra job. normal job: every work that squid can do. Variety of job: a range of task that my boss ordered. Yours, Mohsen On Tue, 2011-06-28 at 18:40 +1200, Amos Jeffries wrote: On 28/06/11 16:21, Mohsen Pahlevanzadeh wrote:

Re: [squid-users] Squid SDK

2011-06-28 Thread John Doe
From: Mohsen Pahlevanzadeh moh...@pahlevanzadeh.org We must write a program that along with normal tasks, it had do a variety of jobs,But i need to PURGE and insert cache. I must a write a web appl thet it manages squid with many extra job. normal job: every work that squid can do. Variety

[squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
Dear all, I know that squid doesn't release its SDK, but i need to its syscall.What i do? Do you know good way for using squid syscall? Yours, Mohsen signature.asc Description: This is a digitally signed message part

Re: [squid-users] Squid SDK

2011-06-27 Thread Leonardo Rodrigues
squid is a completly open-source project, you can simply grab its entire source code and do whatever modifications you need to acchieve your goals. if you're using squid installed by your distro or download in some binary format and dont have its source, you can go to

Re: [squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
I know it, and compiled it, But can i get hook or i must hack it for a syscall? i need to on demand delete Object from cache same PURGE, But want to use it in my code. After it, I need to Push to cache in my code. Can you get me name of those func instead of hack? --mohsen On Mon, 2011-06-27 at

Re: [squid-users] Squid SDK

2011-06-27 Thread Leonardo Rodrigues
i think you can analyse the squidclient command line utility, which is on squid source code, and find out how what the '-m PURGE' option calls ... that would be what you need. you can use that utility for PURGing URLs from command line, for example: squidclient -m PURGE

Re: [squid-users] Squid SDK

2011-06-27 Thread Amos Jeffries
On Mon, 27 Jun 2011 17:12:32 +0430, Mohsen Pahlevanzadeh wrote: I know it, and compiled it, But can i get hook or i must hack it for a syscall? i need to on demand delete Object from cache same PURGE, But want to use it in my code. After it, I need to Push to cache in my code. Can you get me

Re: [squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
Hi, We must write a program that along with normal tasks, it had do a variety of jobs,But i need to PURGE and insert cache. So, we decided code PURGE and insert that our program doesn't depend on other program same as squidclient. Yours, Mohsen On Tue, 2011-06-28 at 11:30 +1200, Amos Jeffries