On 25/03/2015 11:26 p.m., Priya Agarwal wrote:
> I could link the libraries. The problem was that libraries were C and thus
> g++ wasn't creating right symbols.

.h files fro C libraries need to contain the syntax:

#if defined(__cplusplus)
extern "C" {
#endif

  ... library API ...

#if defined(__cplusplus)
}
#endif

> 
> I have another question.
> what part of the source code handles shutdown or exiting (ctrl+c).

src/main.cc

Amos
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to