Lines Matching defs:hrs
5303 static BOOL sam_io_logon_hrs(const char *desc, LOGON_HRS * hrs,
5306 if (hrs == NULL)
5315 if(!prs_uint32("maxlen", ps, depth, &hrs->max_len))
5318 if(!prs_uint32("offset", ps, depth, &hrs->offset))
5321 if(!prs_uint32("len ", ps, depth, &hrs->len))
5324 if (hrs->len > sizeof(hrs->hours)) {
5325 DEBUG(3, ("sam_io_logon_hrs: truncating length from %d\n", hrs->len));
5326 hrs->len = sizeof(hrs->hours);
5329 if(!prs_uint8s(False, "hours", ps, depth, hrs->hours, hrs->len))
5703 LOGON_HRS * hrs,
5724 usr->ptr_logon_hrs = hrs ? 1 : 0;
5770 if (hrs) {
5771 memcpy(&usr->logon_hrs, hrs, sizeof(usr->logon_hrs));
5797 LOGON_HRS * hrs, uint16 bad_password_count, uint16 logon_count,
5818 usr->ptr_logon_hrs = hrs ? 1 : 0;
5866 if (hrs) {
5867 memcpy(&usr->logon_hrs, hrs, sizeof(usr->logon_hrs));
6148 LOGON_HRS * hrs,
6168 usr->ptr_logon_hrs = hrs ? 1 : 0;
6211 if (hrs) {
6212 memcpy(&usr->logon_hrs, hrs, sizeof(usr->logon_hrs));