lwthiker / curl-impersonate

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
MIT License
3.45k stars 229 forks source link

Namespace wrapping for firefox and chrome in one? #228

Open matt1309 opened 2 months ago

matt1309 commented 2 months ago

Hi Folks,

Is there an easy way to include both chrome and firefox curl impersonate libraries in one cpp project?

I guessed both libraries would have same signature so linker would stop this working.

Is there an obvious solution I'm missing or is it not possible unless entire library is namespace wrapped?