/illumos-gate/usr/src/lib/libmail/common/ |
H A D | getdomain.c | 53 * maildomain() - retrieve the domain name 59 * Retrieve the domain name from xgetenv("DOMAIN"). 61 * and /etc/named.boot for "^domain[ ]+<domain>". 66 /* read a file for the domain */ 76 if (strncmp(buf, "domain", 6) == 0) 91 /* read the domain from the xenvironment or one of the files */ 117 static char *domain = 0; local 121 if (domain != 0) 122 return (domain); [all...] |
/illumos-gate/usr/src/cmd/gettext/ |
H A D | gettext.c | 89 "Usage: gettext [-d domainname | --domain=domainname ] " \ 90 "[domain] \"msgid\"\n" \ 91 " gettext -s [-d domainname | --domain=domainname] [-e] [-n] "\ 104 char *domain = NULL; local 135 domain = ++arg; 140 domain = *++argv; 180 if (strncmp(arg, "domain=", 7) == 0) { 188 domain = arg; 210 domain = *argv++; 211 } else if (!domain) { [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | PlatformCommon.h | 18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
|
/illumos-gate/usr/src/lib/libdns_sd/java/com/apple/dnssd/ |
H A D | DomainListener.java | 31 The active domain enumerator. 36 Specifies the interface on which the domain exists. (The index for a given 39 @param domain 40 The name of the domain. 42 void domainFound( DNSSDService domainEnum, int flags, int ifIndex, String domain); argument 44 /** Called to report that a domain has disappeared.<P> 47 The active domain enumerator. 52 Specifies the interface on which the domain exists. (The index for a given 55 @param domain 56 The name of the domain 58 domainLost( DNSSDService domainEnum, int flags, int ifIndex, String domain) argument [all...] |
H A D | BrowseListener.java | 44 @param domain 45 The domain in which the service was discovered. 48 String serviceName, String regType, String domain); 67 @param domain 68 The domain in which the service was discovered. 71 String serviceName, String regType, String domain); 47 serviceFound( DNSSDService browser, int flags, int ifIndex, String serviceName, String regType, String domain) argument 70 serviceLost( DNSSDService browser, int flags, int ifIndex, String serviceName, String regType, String domain) argument
|
H A D | RegisterListener.java | 41 @param domain 42 The domain on which the service was registered. If the application did not 43 specify a domain in DNSSD.register(), this is the default domain 47 String regType, String domain); 46 serviceRegistered( DNSSDRegistration registration, int flags, String serviceName, String regType, String domain) argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | realm_dom.c | 34 * Determines the proper domain name for a realm. This is mainly so that 41 * The returned domain is allocated, and must be freed by the caller. 51 krb5_get_realm_domain(krb5_context context, const char *realm, char **domain) argument 60 *domain = malloc(strlen(temp_domain) + 1); 61 if (!*domain) { 64 strcpy(*domain, temp_domain);
|
/illumos-gate/usr/src/lib/libsmbfs/netsmb/ |
H A D | smb_keychain.h | 50 int smbfs_keychain_add(uid_t uid, const char *domain, const char *user, 54 int smbfs_keychain_addhash(uid_t uid, const char *domain, const char *user, 58 int smbfs_keychain_del(uid_t uid, const char *domain, const char *user); 64 int smbfs_keychain_chk(const char *domain, const char *user); 80 * provide (editable) defaults for domain/user 82 * Get default domain and user names
|
/illumos-gate/usr/src/cmd/ypcmd/shared/ |
H A D | ancil.c | 51 * This checks to see whether a domain name is present at the local node as a 58 ypcheck_domain(domain) 59 char *domain; 61 return (ypcheck_domain_yptol(domain));
|
/illumos-gate/usr/src/lib/libdscp/ |
H A D | libdscp.h | 55 #define DSCP_ADDR_LOCAL (1) /* Get the domain's local IP address */ 59 * Define a special value used to represent the SP as a domain ID. 63 int dscpBind(int domain, int sockfd, int port); 64 int dscpSecure(int domain, int sockfd); 65 int dscpAuth(int domain, struct sockaddr *saddr, int len); 66 int dscpAddr(int domain, int which, struct sockaddr *saddr, int *lenp);
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_master.c | 58 yp_master(char *domain, char *map, char **master) argument 65 if ((map == NULL) || (domain == NULL)) 68 domlen = strlen(domain); 78 if (reason = __yp_dobind(domain, &pdomb)) 83 reason = domaster(domain, map, pdomb, _ypserv_timeout, 88 yp_unbind(domain); 106 rsvdreason = __yp_master_rsvdport(domain, map, master); 120 __yp_master_rsvdport(char *domain, char *map, char **master) argument 127 if ((map == NULL) || (domain == NULL)) 130 domlen = strlen(domain); 177 domaster(char *domain, char *map, struct dom_binding *pdomb, struct timeval timeout, char **master) argument [all...] |
H A D | yp_order.c | 58 yp_order(char *domain, char *map, unsigned long *order) argument 65 if ((map == NULL) || (domain == NULL)) 68 domlen = strlen(domain); 78 if (reason = __yp_dobind(domain, &pdomb)) 83 reason = doorder(domain, map, pdomb, _ypserv_timeout, 88 yp_unbind(domain); 106 doorder(char *domain, char *map, struct dom_binding *pdomb, argument 113 req.domain = domain;
|
H A D | yp_enum.c | 58 * This requests the yp server associated with a given domain to return the 65 char *domain, 78 if ((map == NULL) || (domain == NULL)) 81 domlen = strlen(domain); 90 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) 95 reason = dofirst(domain, map, pdomb, _ypserv_timeout, 101 yp_unbind(domain); 118 char *domain, 126 return (__yp_first_cflookup(domain, map, key, keylen, val, vallen, 1)); 134 dofirst(domain, ma 64 __yp_first_cflookup( char *domain, char *map, char **key, int *keylen, char **val, int *vallen, int hardlookup) argument 117 yp_first( char *domain, char *map, char **key, int *keylen, char **val, int *vallen) argument 226 __yp_next_cflookup( char *domain, char *map, char *inkey, int inkeylen, char **outkey, int *outkeylen, char **val, int *vallen, int hardlookup) argument 283 yp_next( char *domain, char *map, char *inkey, int inkeylen, char **outkey, int *outkeylen, char **val, int *vallen) argument [all...] |
/illumos-gate/usr/src/lib/libbc/libc/yp/ |
H A D | yp_bind.c | 96 yp_bind(domain) 97 char *domain; 100 _yp_bind(domain); 106 * domain name field equal to the passed domain name, and removes it if found. 107 * The domain-server binding will not exist after the call to this function. 112 yp_unbind (domain) 113 char *domain; 115 _yp_unbind(domain); /* clean our local cache */ 117 _yp_unbind(domain); [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | getdname.c | 40 * Gets and sets the domain name of the system 56 setdomainname(char *domain, int len) argument 61 domain, len + 1); /* add null */
|
H A D | netname.c | 46 * the Sun NIS domain architecture. 108 * 3 pieces of information <opsys type> <uid> <domain>. 113 char *domain) 117 if (domain == NULL) { 122 domain = dfltdom; 124 if ((strlen(domain) + OPSYS_LEN + 3 + MAXIPRINT) > 130 "%s.%d@%s", OPSYS, (int)uid, domain); 178 const char *domain) 222 netname, uid, (char *)domain); 253 * This routine returns following netnames given the host and domain 112 user2netname_nis(int *err, char netname[MAXNETNAMELEN + 1], uid_t uid, char *domain) argument 177 user2netname(char netname[MAXNETNAMELEN + 1], const uid_t uid, const char *domain) argument 268 host2netname(char netname[MAXNETNAMELEN + 1], const char *host, const char *domain) argument [all...] |
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Utils/ |
H A D | Utils.xs | 93 textdomain(domain) 94 char *domain 101 bindtextdomain(domain, dirname) 102 char *domain
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | hostname.c | 58 char domain[128]; variable 76 snprintf(domain, sizeof (domain), "%s%s", host, maildomain()); 87 np->nt_machine = domain; 88 if (debug) fprintf(stderr, "host '%s', domain '%s'\n", host, domain);
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access_utils.h | 50 extern char *getFullMapName(char *map, char *domain); 56 char *domain, bool_t readonly, int *statP); 57 extern __nis_table_mapping_t *mappingFromMap(char *map, char *domain, 59 extern bool_t singleReadFromDIT(char *map, char *domain, 62 extern suc_code singleWriteToDIT(char *map, char *domain, 65 __nis_rule_value_t *rv, char *domain); 68 int numVals, char *domain); 75 extern suc_code makeNISObject(char *domain, char *dn); 76 extern suc_code addNISObject(char *domain, char *dn,
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | DRM.java | 30 package com.sun.solaris.domain.pools;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ppmio.h | 72 char *domain; /* domain name */ member in struct:ppm_dpwr 73 int level; /* domain power level */ 81 char *domlist; /* domain names */ 89 char *domain; /* domain name */ member in struct:ppm_bydom 90 char *devlist; /* domain device list */ 107 caddr32_t domain; /* domain name */ member in struct:ppm_dpwr32 108 int32_t level; /* domain powe 118 caddr32_t domain; /* domain name */ member in struct:ppm_bydom32 [all...] |
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext.c | 73 bindtextdomain(const char *domain, const char *binding) argument 79 res = _real_bindtextdomain_u(domain, binding, TP_BINDING); 85 bind_textdomain_codeset(const char *domain, const char *codeset) argument 91 res = _real_bindtextdomain_u(domain, codeset, TP_CODESET); 97 * textdomain() sets or queries the name of the current domain of 101 textdomain(const char *domain) argument 108 res = _textdomain_u(domain, tmp_domain); 119 * for domain and LC_MESSAGES passed for category. 137 * In dcgettext() call, domain is valid only for this call. 140 dgettext(const char *domain, cons argument 154 dgettext_l(const char *domain, const char *msg_id, locale_t loc) argument 168 dcgettext(const char *domain, const char *msg_id, const int category) argument 196 dngettext(const char *domain, const char *msgid1, const char *msgid2, unsigned long int n) argument 211 dcngettext(const char *domain, const char *msgid1, const char *msgid2, unsigned long int n, int category) argument [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/i18n/ |
H A D | m_text.c | 51 static char *domain = NULL; /* remember domain chosen */ variable 101 if (domain != NULL) 102 free(domain); 103 domain = str==NULL ? NULL : strdup(str); 127 if (locale != NULL && nlocale != NULL && domain != NULL 135 if (domain==NULL) 141 if ((catd = catopen(domain, NL_CAT_LOCALE)) == (nl_catd)-1) { 143 if ((catd = catopen(domain, 0)) == (nl_catd)-1) {
|
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | net-netmask | 60 domain=`/usr/bin/domainname 2>/dev/null` 62 [ -z "$domain" ] || [ ! -d /var/yp/binding/$domain ] || wait_nis || \
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_domain.c | 53 #define SMB_IS_FQDN(domain) (strchr(domain, '.') != NULL) 79 * get the discovered DC and/or domain information. 102 * This is the entry point for discovering a domain controller for the 103 * specified domain. Called during join domain, and then periodically 110 * domain - domain to be discovered (can either be NetBIOS or DNS domain) 113 * dp - on success, dp will be filled with the discovered DC and domain 119 smb_locate_dc(char *domain, smb_domainex_t *dp) argument 399 smb_ddiscover_main(char *domain, smb_domainex_t *dxi) argument 445 smb_ddiscover_qinfo(char *domain, char *server, smb_domainex_t *dxi) argument 474 smb_ddiscover_enum_trusted(char *domain, char *server, smb_domainex_t *dxi) argument 491 smb_ddiscover_use_config(char *domain, smb_domainex_t *dxi) argument 526 smb_set_krb5_realm(char *domain) argument [all...] |