2 #include "nlib_include.h"
8 NicoVideoAuth_P NicoVideoAuth_new(){
11 return (NicoVideoAuth_P)calloc(1,sizeof(NicoVideoAuth));
15 VOID NicoVideoAuth_delete(NicoVideoAuth_P* self){
25 NLIB_RESULT NicoVideoAuth_getNicoVideoAuth(NicoVideoAuth_P self,BROWSERTYPE browserType){
27 NLIB_RESULT rslt = NLIB_ERR_CODE_NOTSET;
28 //
\83N
\83b
\83L
\81[
\82Ì
\8eæ
\93¾
29 if( GetCookie(browserType,self->userSession,sizeof(self->userSession),L"user_session",WTEXT(NICO_VIDEO_DOMEINNAME)) != COOKIE_ERR_OK){
30 rslt = NLIB_ERR_COOKIE_FAILED;
40 LPCTSTR NicoVideoAuth_getUserSession(NicoVideoAuth_P self){
42 return self->userSession;