redis operate base hiredis with c++