/* Copyright 2013 Akira Ohta (akohta001@gmail.com)
    This file is part of ntch.

    The ntch is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    The ntch is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with ntch.  If not, see <http://www.gnu.org/licenses/>.
    
*/
#ifndef _MARU_2CH_H_ 
#define _MARU_2CH_H_


typedef struct tag_nt_maru_2ch_t *nt_maru_2ch_tp;
typedef struct tag_nt_maru_2ch_t {
	char *id;
	char *pw;
	char *sid;
}nt_maru_2ch_t;


extern nt_maru_2ch_tp nt_maru_2ch_alloc(char *id, char *pw);
extern BOOL get_session_id(nt_maru_2ch_tp marup);
extern void nt_maru_2ch_free(nt_maru_2ch_tp marup);

#endif /* _MARU_2CH_H_ */
