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 wrote: > 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 name of those func instead of hack? > > There is no SDK. No syscalls. No API to embed squid into other > software. Squid *is* the top level software. > > To perform cache object erasures use HTTP protocol to send PURGE > requests. Or use HTCP protocol to send CLR request packets. > > Since you seem to say that PURGE does not work for you, you may want to > look at HTCP CLR. But both have almost the same operation. > > > > It sounds like you are attempting to write some form of external > manipulator for the Squid disk storage. Yes? > before we go into details for help ... Why? What end goal will this > achieve for you? > > > Amos > > > --mohsen > > On Mon, 2011-06-27 at 09:09 -0300, Leonardo Rodrigues wrote: > >> 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 > >> > >> www.squid-cache.org > >> > >> and download it ! > >> > >> Em 27/06/11 04:33, Mohsen Pahlevanzadeh escreveu: > >> > 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? > >> > > >> > >> >
Attachment:
signature.asc
Description: This is a digitally signed message part