#ifndef __SH_CONF_H__
#define __SH_CONF_H__


#include <string.h>
#include <sys/types.h>
#include <sys/stat.h> 
#include <fcntl.h>
#include "sh_app.h"

typedef struct _SH_CONF_S
{
	int				mode;
	DiamId_t		pi_diamid_peer;
	DiamId_t		pi_diamid_realm_peer;
    uint16_t peer_port;
}SH_CONF_S;

extern SH_CONF_S			g_sh_conf_ext;

// Ro link from scp to ocs===============================
typedef struct _Ro_Link_S
{
    int bconn;
    SH_CONF_S cfg;
}Ro_Link_S;

#define MaxRoLinkNum 4
typedef struct _Ro_LinkSet
{
    int smslknum;
    int voicelknum;
    int cursmslk;
    int curvoicelk;

    Ro_Link_S smslk[MaxRoLinkNum];
    Ro_Link_S voicelk[MaxRoLinkNum];
}Ro_LinkSet;
extern Ro_LinkSet rolkset;
//

//extern SH_CONF_S			g_rosms_conf_ext;
//extern SH_CONF_S			g_rovoice_conf_ext;

int shParse(struct fd_config * conf);


#endif /* __SH_CONF_H__ */
