• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/rpc_parse/

Lines Matching refs:ss1

1705 void init_srv_sess_info1_str(SESS_INFO_1_STR *ss1, const char *name, const char *user)
1709 init_unistr2(&ss1->uni_name, name, UNI_STR_TERMINATE);
1710 init_unistr2(&ss1->uni_user, user, UNI_STR_TERMINATE);
1717 static BOOL srv_io_sess_info1_str(const char *desc, SESS_INFO_1_STR *ss1, prs_struct *ps, int depth)
1719 if (ss1 == NULL)
1728 if(!smb_io_unistr2("", &ss1->uni_name, True, ps, depth))
1730 if(!smb_io_unistr2("", &(ss1->uni_user), True, ps, depth))
1740 void init_srv_sess_info1(SESS_INFO_1 *ss1,
1747 ss1->ptr_name = (name != NULL) ? 1 : 0;
1748 ss1->ptr_user = (user != NULL) ? 1 : 0;
1750 ss1->num_opens = num_opens;
1751 ss1->open_time = open_time;
1752 ss1->idle_time = idle_time;
1753 ss1->user_flags = user_flags;
1760 static BOOL srv_io_sess_info1(const char *desc, SESS_INFO_1 *ss1, prs_struct *ps, int depth)
1762 if (ss1 == NULL)
1771 if(!prs_uint32("ptr_name ", ps, depth, &ss1->ptr_name))
1773 if(!prs_uint32("ptr_user ", ps, depth, &ss1->ptr_user))
1776 if(!prs_uint32("num_opens ", ps, depth, &ss1->num_opens))
1778 if(!prs_uint32("open_time ", ps, depth, &ss1->open_time))
1780 if(!prs_uint32("idle_time ", ps, depth, &ss1->idle_time))
1782 if(!prs_uint32("user_flags", ps, depth, &ss1->user_flags))
1792 static BOOL srv_io_srv_sess_info_1(const char *desc, SRV_SESS_INFO_1 *ss1, prs_struct *ps, int depth)
1794 if (ss1 == NULL)
1803 if(!prs_uint32("num_entries_read", ps, depth, &ss1->num_entries_read))
1805 if(!prs_uint32("ptr_sess_info", ps, depth, &ss1->ptr_sess_info))
1808 if (ss1->ptr_sess_info != 0) {
1810 uint32 num_entries = ss1->num_entries_read;
1816 if(!prs_uint32("num_entries_read2", ps, depth, &ss1->num_entries_read2))
1819 SMB_ASSERT_ARRAY(ss1->info_1, num_entries);
1822 if(!srv_io_sess_info1("", &ss1->info_1[i], ps, depth))
1827 if(!srv_io_sess_info1_str("", &ss1->info_1_str[i], ps, depth))
2077 void init_srv_conn_info1_str(CONN_INFO_1_STR *ss1, const char *usr_name, const char *net_name)
2081 init_unistr2(&ss1->uni_usr_name, usr_name, UNI_STR_TERMINATE);
2082 init_unistr2(&ss1->uni_net_name, net_name, UNI_STR_TERMINATE);
2089 static BOOL srv_io_conn_info1_str(const char *desc, CONN_INFO_1_STR *ss1, prs_struct *ps, int depth)
2091 if (ss1 == NULL)
2100 if(!smb_io_unistr2("", &ss1->uni_usr_name, True, ps, depth))
2102 if(!smb_io_unistr2("", &ss1->uni_net_name, True, ps, depth))
2112 void init_srv_conn_info1(CONN_INFO_1 *ss1,
2119 ss1->id = id ;
2120 ss1->type = type ;
2121 ss1->num_opens = num_opens ;
2122 ss1->num_users = num_users;
2123 ss1->open_time = open_time;
2125 ss1->ptr_usr_name = (usr_name != NULL) ? 1 : 0;
2126 ss1->ptr_net_name = (net_name != NULL) ? 1 : 0;
2133 static BOOL srv_io_conn_info1(const char *desc, CONN_INFO_1 *ss1, prs_struct *ps, int depth)
2135 if (ss1 == NULL)
2144 if(!prs_uint32("id ", ps, depth, &ss1->id))
2146 if(!prs_uint32("type ", ps, depth, &ss1->type))
2148 if(!prs_uint32("num_opens ", ps, depth, &ss1->num_opens))
2150 if(!prs_uint32("num_users ", ps, depth, &ss1->num_users))
2152 if(!prs_uint32("open_time ", ps, depth, &ss1->open_time))
2155 if(!prs_uint32("ptr_usr_name", ps, depth, &ss1->ptr_usr_name))
2157 if(!prs_uint32("ptr_net_name", ps, depth, &ss1->ptr_net_name))
2167 static BOOL srv_io_srv_conn_info_1(const char *desc, SRV_CONN_INFO_1 *ss1, prs_struct *ps, int depth)
2169 if (ss1 == NULL)
2178 if(!prs_uint32("num_entries_read", ps, depth, &ss1->num_entries_read))
2180 if(!prs_uint32("ptr_conn_info", ps, depth, &ss1->ptr_conn_info))
2183 if (ss1->ptr_conn_info != 0) {
2185 int num_entries = ss1->num_entries_read;
2191 if(!prs_uint32("num_entries_read2", ps, depth, &ss1->num_entries_read2))
2195 if(!srv_io_conn_info1("", &ss1->info_1[i], ps, depth))
2200 if(!srv_io_conn_info1_str("", &ss1->info_1_str[i], ps, depth))