stype 2658 source3/include/proto.h bool cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype,
stype 2731 source3/include/proto.h bool cli_ns_check_server_type(struct cli_state *cli, char *workgroup, uint32 stype);
stype 3079 source3/lib/util.c const char *stype; /* stream type */
stype 3100 source3/lib/util.c stype = strchr_m(sname, ':');
stype 3102 source3/lib/util.c if (stype == NULL) {
stype 3104 source3/lib/util.c stype = "$DATA";
stype 3107 source3/lib/util.c if (StrCaseCmp(stype, ":$DATA") != 0) {
stype 3112 source3/lib/util.c DEBUG(10, ("[%s] is an invalid stream type\n", stype));
stype 3116 source3/lib/util.c sname = talloc_strndup(mem_ctx, sname, PTR_DIFF(stype, sname));
stype 3117 source3/lib/util.c stype += 1;
stype 3133 source3/lib/util.c stream = talloc_asprintf(mem_ctx, "%s:%s", sname, stype);
stype 220 source3/libsmb/clirap.c bool cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype,
stype 266 source3/libsmb/clirap.c SIVAL(p,0,stype);
stype 367 source3/libsmb/clirap.c stype = IVAL(p,18) & ~SV_TYPE_LOCAL_LIST_ONLY;
stype 379 source3/libsmb/clirap.c fn(s1, stype, s2, state);
stype 1773 source3/libsmb/clirap2.c bool cli_ns_check_server_type(struct cli_state *cli, char *workgroup, uint32 stype)
stype 1794 source3/libsmb/clirap2.c PUTDWORD(p, stype);
stype 463 source3/nmbd/nmbd_sendannounce.c int stype = lp_default_server_announce();
stype 511 source3/nmbd/nmbd_sendannounce.c stype, /* Type field. */
stype 298 source3/nmbd/nmbd_serverlistdb.c uint32 stype;
stype 372 source3/nmbd/nmbd_serverlistdb.c stype = 0;
stype 379 source3/nmbd/nmbd_serverlistdb.c stype |= servrec->serv.type;
stype 383 source3/nmbd/nmbd_serverlistdb.c write_browse_list_entry(fp, my_netbios_names(i), stype,
stype 50 source3/nmbd/nmbd_synclists.c static void callback(const char *sname, uint32 stype,
stype 53 source3/nmbd/nmbd_synclists.c x_fprintf(fp,"\"%s\" %08X \"%s\"\n", sname, stype, comment);
stype 205 source3/nmbd/nmbd_synclists.c char *sname, uint32 stype, char *comment)
stype 210 source3/nmbd/nmbd_synclists.c stype &= ~SV_TYPE_LOCAL_LIST_ONLY;
stype 212 source3/nmbd/nmbd_synclists.c if (stype & SV_TYPE_DOMAIN_ENUM) {
stype 245 source3/nmbd/nmbd_synclists.c servrec->serv.type = stype;
stype 251 source3/nmbd/nmbd_synclists.c create_server_on_workgroup(work, sname,stype, lp_max_ttl(), comment);
stype 256 source3/nmbd/nmbd_workgroupdb.c int stype = lp_default_server_announce() | (lp_local_master() ? SV_TYPE_POTENTIAL_BROWSER : 0 );
stype 259 source3/nmbd/nmbd_workgroupdb.c stype &= ~(SV_TYPE_MASTER_BROWSER|SV_TYPE_POTENTIAL_BROWSER|SV_TYPE_DOMAIN_MASTER|SV_TYPE_DOMAIN_MEMBER);
stype 261 source3/nmbd/nmbd_workgroupdb.c create_server_on_workgroup(work,name,stype|SV_TYPE_LOCAL_LIST_ONLY, PERMANENT_TTL,
stype 1173 source3/smbd/lanman.c fstring stype;
stype 1204 source3/smbd/lanman.c stype[0] = '\0';
stype 1209 source3/smbd/lanman.c fstrcpy(stype, p);
stype 1228 source3/smbd/lanman.c if (sscanf(stype,"%X",&s->type) != 1) {
stype 2420 source3/torture/torture.c static void browse_callback(const char *sname, uint32 stype,
stype 2423 source3/torture/torture.c printf("\t%20.20s %08x %s\n", sname, stype, comment);
stype 165 source4/heimdal/lib/asn1/gen_decode.c if ((t->symbol->stype == Stype && t->symbol->type == NULL)
stype 166 source4/heimdal/lib/asn1/gen_decode.c || t->symbol->stype == SUndefined) {
stype 1792 source4/heimdal/lib/asn1/parse.c s->stype = Stype;
stype 1820 source4/heimdal/lib/asn1/parse.c s->stype = Stype;
stype 2075 source4/heimdal/lib/asn1/parse.c if(s->stype != Stype && s->stype != SUndefined)
stype 2237 source4/heimdal/lib/asn1/parse.c s->stype = SValue;
stype 2440 source4/heimdal/lib/asn1/parse.c if(s->stype != SValue ||
stype 2461 source4/heimdal/lib/asn1/parse.c if(s->stype != SValue)
stype 274 source4/heimdal/lib/asn1/parse.y s->stype = Stype;
stype 305 source4/heimdal/lib/asn1/parse.y s->stype = Stype;
stype 539 source4/heimdal/lib/asn1/parse.y if(s->stype != Stype && s->stype != SUndefined)
stype 676 source4/heimdal/lib/asn1/parse.y s->stype = SValue;
stype 834 source4/heimdal/lib/asn1/parse.y if(s->stype != SValue ||
stype 868 source4/heimdal/lib/asn1/parse.y if(s->stype != SValue)
stype 87 source4/heimdal/lib/asn1/symbol.c s->stype = SUndefined;
stype 97 source4/heimdal/lib/asn1/symbol.c if (s->stype == SUndefined) {
stype 150 source4/heimdal/lib/asn1/symbol.h enum { SUndefined, SValue, Stype } stype;
stype 895 source4/heimdal/lib/krb5/crypto.c krb5_salttype stype,
stype 909 source4/heimdal/lib/krb5/crypto.c if (st->type == stype) {
stype 920 source4/heimdal/lib/krb5/crypto.c "salttype %d not supported", stype);
stype 400 source4/torture/raw/qfileinfo.c #define TIME_CHECK_NT(sname, stype, tfield) do { \
stype 402 source4/torture/raw/qfileinfo.c if (s1 && memcmp(&s1->stype.out.tfield, &correct_time, sizeof(correct_time)) != 0) { \
stype 403 source4/torture/raw/qfileinfo.c printf("(%d) handle %s/%s incorrect - %s should be %s\n", __LINE__, #stype, #tfield, \
stype 404 source4/torture/raw/qfileinfo.c nt_time_string(mem_ctx, s1->stype.out.tfield), \
stype 409 source4/torture/raw/qfileinfo.c if (s1 && memcmp(&s1->stype.out.tfield, &correct_time, sizeof(correct_time)) != 0) { \
stype 410 source4/torture/raw/qfileinfo.c printf("(%d) path %s/%s incorrect - %s should be %s\n", __LINE__, #stype, #tfield, \
stype 411 source4/torture/raw/qfileinfo.c nt_time_string(mem_ctx, s1->stype.out.tfield), \
stype 416 source4/torture/raw/qfileinfo.c #define TIME_CHECK_DOS(sname, stype, tfield) do { \
stype 418 source4/torture/raw/qfileinfo.c if (s1 && dos_nt_time_cmp(s1->stype.out.tfield, correct_time) != 0) { \
stype 419 source4/torture/raw/qfileinfo.c printf("(%d) handle %s/%s incorrect - %s should be %s\n", __LINE__, #stype, #tfield, \
stype 420 source4/torture/raw/qfileinfo.c timestring(mem_ctx, s1->stype.out.tfield), \
stype 425 source4/torture/raw/qfileinfo.c if (s1 && dos_nt_time_cmp(s1->stype.out.tfield, correct_time) != 0) { \
stype 426 source4/torture/raw/qfileinfo.c printf("(%d) path %s/%s incorrect - %s should be %s\n", __LINE__, #stype, #tfield, \
stype 427 source4/torture/raw/qfileinfo.c timestring(mem_ctx, s1->stype.out.tfield), \
stype 433 source4/torture/raw/qfileinfo.c #define TIME_CHECK_UNX(sname, stype, tfield) do { \
stype 435 source4/torture/raw/qfileinfo.c if (s1 && unx_nt_time_cmp(s1->stype.out.tfield, correct_time) != 0) { \
stype 436 source4/torture/raw/qfileinfo.c printf("(%d) handle %s/%s incorrect - %s should be %s\n", __LINE__, #stype, #tfield, \
stype 437 source4/torture/raw/qfileinfo.c timestring(mem_ctx, s1->stype.out.tfield), \
stype 442 source4/torture/raw/qfileinfo.c if (s1 && unx_nt_time_cmp(s1->stype.out.tfield, correct_time) != 0) { \
stype 443 source4/torture/raw/qfileinfo.c printf("(%d) path %s/%s incorrect - %s should be %s\n", __LINE__, #stype, #tfield, \
stype 444 source4/torture/raw/qfileinfo.c timestring(mem_ctx, s1->stype.out.tfield), \
stype 498 source4/torture/raw/qfileinfo.c #define SIZE_CHECK(sname, stype, tfield) do { \
stype 500 source4/torture/raw/qfileinfo.c if (s1 && s1->stype.out.tfield != correct_size) { \
stype 501 source4/torture/raw/qfileinfo.c printf("(%d) handle %s/%s incorrect - %u should be %u\n", __LINE__, #stype, #tfield, \
stype 502 source4/torture/raw/qfileinfo.c (uint_t)s1->stype.out.tfield, \
stype 507 source4/torture/raw/qfileinfo.c if (s1 && s1->stype.out.tfield != correct_size) { \
stype 508 source4/torture/raw/qfileinfo.c printf("(%d) path %s/%s incorrect - %u should be %u\n", __LINE__, #stype, #tfield, \
stype 509 source4/torture/raw/qfileinfo.c (uint_t)s1->stype.out.tfield, \
stype 552 source4/torture/raw/qfileinfo.c #define ATTRIB_CHECK(sname, stype, tfield) do { \
stype 554 source4/torture/raw/qfileinfo.c if (s1 && s1->stype.out.tfield != correct_attrib) { \
stype 555 source4/torture/raw/qfileinfo.c printf("(%d) handle %s/%s incorrect - 0x%x should be 0x%x\n", __LINE__, #stype, #tfield, \
stype 556 source4/torture/raw/qfileinfo.c (uint_t)s1->stype.out.tfield, \
stype 561 source4/torture/raw/qfileinfo.c if (s1 && s1->stype.out.tfield != correct_attrib) { \
stype 562 source4/torture/raw/qfileinfo.c printf("(%d) path %s/%s incorrect - 0x%x should be 0x%x\n", __LINE__, #stype, #tfield, \
stype 563 source4/torture/raw/qfileinfo.c (uint_t)s1->stype.out.tfield, \
stype 588 source4/torture/raw/qfileinfo.c #define NAME_CHECK(sname, stype, tfield, flags) do { \
stype 590 source4/torture/raw/qfileinfo.c if (s1 && (strcmp_safe(s1->stype.out.tfield.s, correct_name) != 0 || \
stype 591 source4/torture/raw/qfileinfo.c wire_bad_flags(&s1->stype.out.tfield, flags, tree->session->transport))) { \
stype 592 source4/torture/raw/qfileinfo.c printf("(%d) handle %s/%s incorrect - '%s/%d'\n", __LINE__, #stype, #tfield, \
stype 593 source4/torture/raw/qfileinfo.c s1->stype.out.tfield.s, s1->stype.out.tfield.private_length); \
stype 597 source4/torture/raw/qfileinfo.c if (s1 && (strcmp_safe(s1->stype.out.tfield.s, correct_name) != 0 || \
stype 598 source4/torture/raw/qfileinfo.c wire_bad_flags(&s1->stype.out.tfield, flags, tree->session->transport))) { \
stype 599 source4/torture/raw/qfileinfo.c printf("(%d) path %s/%s incorrect - '%s/%d'\n", __LINE__, #stype, #tfield, \
stype 600 source4/torture/raw/qfileinfo.c s1->stype.out.tfield.s, s1->stype.out.tfield.private_length); \
stype 762 source4/torture/raw/qfileinfo.c #define NAME_PATH_CHECK(sname, stype, field) do { \
stype 765 source4/torture/raw/qfileinfo.c VAL_EQUAL(stype, field, stype, field); \
stype 793 source4/torture/raw/qfileinfo.c #define UNKNOWN_CHECK(sname, stype, tfield) do { \
stype 795 source4/torture/raw/qfileinfo.c if (s1 && s1->stype.out.tfield != 0) { \
stype 797 source4/torture/raw/qfileinfo.c #stype, #tfield, \
stype 798 source4/torture/raw/qfileinfo.c (uint_t)s1->stype.out.tfield); \
stype 801 source4/torture/raw/qfileinfo.c if (s1 && s1->stype.out.tfield != 0) { \
stype 803 source4/torture/raw/qfileinfo.c #stype, #tfield, \
stype 804 source4/torture/raw/qfileinfo.c (uint_t)s1->stype.out.tfield); \
stype 277 source4/torture/raw/qfsinfo.c #define STR_CHECK(sname, stype, field, flags) do { \
stype 280 source4/torture/raw/qfsinfo.c if (s1->stype.out.field.s && wire_bad_flags(&s1->stype.out.field, flags, cli->transport)) { \
stype 282 source4/torture/raw/qfsinfo.c __LINE__, #stype, #field); \
stype 145 source4/torture/raw/setfileinfo.c #define CHECK_VALUE(call, stype, field, value) do { \
stype 147 source4/torture/raw/setfileinfo.c if (NT_STATUS_IS_OK(status) && NT_STATUS_IS_OK(status2) && finfo2.stype.out.field != value) { \
stype 149 source4/torture/raw/setfileinfo.c call_name, #stype, #field, \
stype 150 source4/torture/raw/setfileinfo.c (uint_t)value, (uint_t)finfo2.stype.out.field); \
stype 155 source4/torture/raw/setfileinfo.c #define CHECK_TIME(call, stype, field, value) do { \
stype 157 source4/torture/raw/setfileinfo.c if (NT_STATUS_IS_OK(status) && NT_STATUS_IS_OK(status2) && nt_time_to_unix(finfo2.stype.out.field) != value) { \
stype 159 source4/torture/raw/setfileinfo.c call_name, #stype, #field, \
stype 161 source4/torture/raw/setfileinfo.c (uint_t)nt_time_to_unix(finfo2.stype.out.field)); \
stype 163 source4/torture/raw/setfileinfo.c printf("\t%s\n", nt_time_string(torture, finfo2.stype.out.field)); \
stype 168 source4/torture/raw/setfileinfo.c #define CHECK_STR(call, stype, field, value) do { \
stype 170 source4/torture/raw/setfileinfo.c if (NT_STATUS_IS_OK(status) && NT_STATUS_IS_OK(status2) && strcmp(finfo2.stype.out.field, value) != 0) { \
stype 172 source4/torture/raw/setfileinfo.c call_name, #stype, #field, \
stype 174 source4/torture/raw/setfileinfo.c finfo2.stype.out.field); \
stype 46 source4/torture/smb2/find.c #define CHECK_VALUE(call_name, stype, field) do { \
stype 48 source4/torture/smb2/find.c if (io.all_info2.out.field != d->stype.field) { \
stype 51 source4/torture/smb2/find.c (long long)io.all_info2.out.field, (long long)d->stype.field); \
stype 55 source4/torture/smb2/find.c #define CHECK_CONST_STRING(call_name, stype, field, str) do { \
stype 57 source4/torture/smb2/find.c if (strcmp(str, d->stype.field.s) != 0) { \
stype 60 source4/torture/smb2/find.c str, d->stype.field.s); \
stype 106 source4/torture/smb2/setinfo.c #define CHECK_VALUE(call, stype, field, value) do { \
stype 108 source4/torture/smb2/setinfo.c if (NT_STATUS_IS_OK(status) && NT_STATUS_IS_OK(status2) && finfo2.stype.out.field != value) { \
stype 110 source4/torture/smb2/setinfo.c call_name, #stype, #field, \
stype 111 source4/torture/smb2/setinfo.c (uint_t)value, (uint_t)finfo2.stype.out.field); \
stype 117 source4/torture/smb2/setinfo.c #define CHECK_TIME(call, stype, field, value) do { \
stype 119 source4/torture/smb2/setinfo.c if (NT_STATUS_IS_OK(status) && NT_STATUS_IS_OK(status2) && nt_time_to_unix(finfo2.stype.out.field) != value) { \
stype 121 source4/torture/smb2/setinfo.c call_name, #stype, #field, \
stype 123 source4/torture/smb2/setinfo.c (uint_t)nt_time_to_unix(finfo2.stype.out.field)); \
stype 125 source4/torture/smb2/setinfo.c printf("\t%s\n", nt_time_string(torture, finfo2.stype.out.field)); \