summaryrefslogtreecommitdiff
path: root/pr/include/prsystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'pr/include/prsystem.h')
-rw-r--r--pr/include/prsystem.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/pr/include/prsystem.h b/pr/include/prsystem.h
index b0dfcf9e..13cf8bab 100644
--- a/pr/include/prsystem.h
+++ b/pr/include/prsystem.h
@@ -70,10 +70,13 @@ NSPR_API(char) PR_GetPathSeparator(void);
/* Types of information available via PR_GetSystemInfo(...) */
typedef enum {
- PR_SI_HOSTNAME,
+ PR_SI_HOSTNAME, /* the hostname with the domain name (if any)
+ * removed */
PR_SI_SYSNAME,
PR_SI_RELEASE,
- PR_SI_ARCHITECTURE
+ PR_SI_ARCHITECTURE,
+ PR_SI_HOSTNAME_UNTRUNCATED /* the hostname exactly as configured
+ * on the system */
} PRSysInfo;