Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.GLib.Flags
Contents
- Flags
- AsciiType
- FileSetContentsFlags
- FileTest
- FormatSizeFlags
- HookFlagMask
- IOCondition
- IOFlags
- KeyFileFlags
- LogLevelFlags
- MainContextFlags
- MarkupCollectType
- MarkupParseFlags
- OptionFlags
- RegexCompileFlags
- RegexMatchFlags
- SpawnFlags
- TestSubprocessFlags
- TestTrapFlags
- TraverseFlags
- UriFlags
- UriHideFlags
- UriParamsFlags
Description
Synopsis
- data AsciiType
- data FileSetContentsFlags
- data FileTest
- data FormatSizeFlags
- data HookFlagMask
- data IOCondition
- data IOFlags
- data KeyFileFlags
- data LogLevelFlags
- data MainContextFlags
- data MarkupCollectType
- data MarkupParseFlags
- data OptionFlags
- data RegexCompileFlags
- = RegexCompileFlagsDefault
- | RegexCompileFlagsCaseless
- | RegexCompileFlagsMultiline
- | RegexCompileFlagsDotall
- | RegexCompileFlagsExtended
- | RegexCompileFlagsAnchored
- | RegexCompileFlagsDollarEndonly
- | RegexCompileFlagsUngreedy
- | RegexCompileFlagsRaw
- | RegexCompileFlagsNoAutoCapture
- | RegexCompileFlagsOptimize
- | RegexCompileFlagsFirstline
- | RegexCompileFlagsDupnames
- | RegexCompileFlagsNewlineCr
- | RegexCompileFlagsNewlineLf
- | RegexCompileFlagsNewlineCrlf
- | RegexCompileFlagsNewlineAnycrlf
- | RegexCompileFlagsBsrAnycrlf
- | RegexCompileFlagsJavascriptCompat
- | AnotherRegexCompileFlags Int
- data RegexMatchFlags
- = RegexMatchFlagsDefault
- | RegexMatchFlagsAnchored
- | RegexMatchFlagsNotbol
- | RegexMatchFlagsNoteol
- | RegexMatchFlagsNotempty
- | RegexMatchFlagsPartial
- | RegexMatchFlagsNewlineCr
- | RegexMatchFlagsNewlineLf
- | RegexMatchFlagsNewlineCrlf
- | RegexMatchFlagsNewlineAny
- | RegexMatchFlagsNewlineAnycrlf
- | RegexMatchFlagsBsrAnycrlf
- | RegexMatchFlagsBsrAny
- | RegexMatchFlagsPartialSoft
- | RegexMatchFlagsPartialHard
- | RegexMatchFlagsNotemptyAtstart
- | AnotherRegexMatchFlags Int
- data SpawnFlags
- = SpawnFlagsDefault
- | SpawnFlagsLeaveDescriptorsOpen
- | SpawnFlagsDoNotReapChild
- | SpawnFlagsSearchPath
- | SpawnFlagsStdoutToDevNull
- | SpawnFlagsStderrToDevNull
- | SpawnFlagsChildInheritsStdin
- | SpawnFlagsFileAndArgvZero
- | SpawnFlagsSearchPathFromEnvp
- | SpawnFlagsCloexecPipes
- | SpawnFlagsChildInheritsStdout
- | SpawnFlagsChildInheritsStderr
- | SpawnFlagsStdinFromDevNull
- | AnotherSpawnFlags Int
- data TestSubprocessFlags
- data TestTrapFlags
- data TraverseFlags
- data UriFlags
- data UriHideFlags
- data UriParamsFlags
Flags
AsciiType
No description available in the introspection data.
Constructors
AsciiTypeAlnum | No description available in the introspection data. |
AsciiTypeAlpha | No description available in the introspection data. |
AsciiTypeCntrl | No description available in the introspection data. |
AsciiTypeDigit | No description available in the introspection data. |
AsciiTypeGraph | No description available in the introspection data. |
AsciiTypeLower | No description available in the introspection data. |
AsciiTypePrint | No description available in the introspection data. |
AsciiTypePunct | No description available in the introspection data. |
AsciiTypeSpace | No description available in the introspection data. |
AsciiTypeUpper | No description available in the introspection data. |
AsciiTypeXdigit | No description available in the introspection data. |
AnotherAsciiType Int | Catch-all for unknown values |
Instances
Enum AsciiType Source # | |
Defined in GI.GLib.Flags Methods succ :: AsciiType -> AsciiType # pred :: AsciiType -> AsciiType # fromEnum :: AsciiType -> Int # enumFrom :: AsciiType -> [AsciiType] # enumFromThen :: AsciiType -> AsciiType -> [AsciiType] # enumFromTo :: AsciiType -> AsciiType -> [AsciiType] # enumFromThenTo :: AsciiType -> AsciiType -> AsciiType -> [AsciiType] # | |
Show AsciiType Source # | |
Eq AsciiType Source # | |
Ord AsciiType Source # | |
IsGFlag AsciiType Source # | |
Defined in GI.GLib.Flags |
FileSetContentsFlags
data FileSetContentsFlags Source #
Flags to pass to fileSetContentsFull
to affect its safety and
performance.
Since: 2.66
Constructors
FileSetContentsFlagsNone | No guarantees about file consistency or durability. The most dangerous setting, which is slightly faster than other settings. |
FileSetContentsFlagsConsistent | Guarantee file consistency: after a crash,
either the old version of the file or the new version of the file will be
available, but not a mixture. On Unix systems this equates to an |
FileSetContentsFlagsDurable | Guarantee file durability: after a crash, the
new version of the file will be available. On Unix systems this equates to
an |
FileSetContentsFlagsOnlyExisting | Only apply consistency and durability guarantees if the file already exists. This may speed up file operations if the file doesn’t currently exist, but may result in a corrupted version of the new file if the system crashes while writing it. |
AnotherFileSetContentsFlags Int | Catch-all for unknown values |
Instances
FileTest
A test to perform on a file using fileTest
.
Constructors
FileTestIsRegular |
|
FileTestIsSymlink |
|
FileTestIsDir |
|
FileTestIsExecutable |
|
FileTestExists |
|
AnotherFileTest Int | Catch-all for unknown values |
Instances
Enum FileTest Source # | |
Show FileTest Source # | |
Eq FileTest Source # | |
Ord FileTest Source # | |
Defined in GI.GLib.Flags | |
IsGFlag FileTest Source # | |
Defined in GI.GLib.Flags |
FormatSizeFlags
data FormatSizeFlags Source #
Flags to modify the format of the string returned by formatSizeFull
.
Constructors
FormatSizeFlagsDefault | behave the same as |
FormatSizeFlagsLongFormat | include the exact number of bytes as part of the returned string. For example, "45.6 kB (45,612 bytes)". |
FormatSizeFlagsIecUnits | use IEC (base 1024) units with "KiB"-style suffixes. IEC units should only be used for reporting things with a strong "power of 2" basis, like RAM sizes or RAID stripe sizes. Network and storage sizes should be reported in the normal SI units. |
FormatSizeFlagsBits | set the size as a quantity in bits, rather than bytes, and return units in bits. For example, ‘Mbit’ rather than ‘MB’. |
FormatSizeFlagsOnlyValue | return only value, without unit; this should
not be used together with |
FormatSizeFlagsOnlyUnit | return only unit, without value; this should
not be used together with |
AnotherFormatSizeFlags Int | Catch-all for unknown values |
Instances
HookFlagMask
data HookFlagMask Source #
Flags used internally in the Hook
implementation.
Constructors
HookFlagMaskActive | set if the hook has not been destroyed |
HookFlagMaskInCall | set if the hook is currently being run |
HookFlagMaskMask | A mask covering all bits reserved for
hook flags; see |
AnotherHookFlagMask Int | Catch-all for unknown values |
Instances
IOCondition
data IOCondition Source #
A bitwise combination representing a condition to watch for on an event source.
Constructors
IOConditionIn | There is data to read. |
IOConditionOut | Data can be written (without blocking). |
IOConditionPri | There is urgent data to read. |
IOConditionErr | Error condition. |
IOConditionHup | Hung up (the connection has been broken, usually for pipes and sockets). |
IOConditionNval | Invalid request. The file descriptor is not open. |
AnotherIOCondition Int | Catch-all for unknown values |
Instances
IOFlags
Specifies properties of a IOChannel
. Some of the flags can only be
read with iOChannelGetFlags
, but not changed with
iOChannelSetFlags
.
Constructors
IOFlagsNone | no special flags set. Since: 2.74 |
IOFlagsAppend | turns on append mode, corresponds to |
IOFlagsNonblock | turns on nonblocking mode, corresponds to
|
IOFlagsIsReadable | indicates that the io channel is readable. This flag cannot be changed. |
IOFlagsIsWritable | indicates that the io channel is writable. This flag cannot be changed. |
IOFlagsIsWriteable | a misspelled version of |
IOFlagsIsSeekable | indicates that the io channel is seekable,
i.e. that |
IOFlagsMask | the mask that specifies all the valid flags. |
IOFlagsGetMask | the mask of the flags that are returned from
|
IOFlagsSetMask | the mask of the flags that the user can modify
with |
AnotherIOFlags Int | Catch-all for unknown values |
Instances
Enum IOFlags Source # | |
Show IOFlags Source # | |
Eq IOFlags Source # | |
Ord IOFlags Source # | |
IsGFlag IOFlags Source # | |
Defined in GI.GLib.Flags |
KeyFileFlags
data KeyFileFlags Source #
Flags which influence the parsing.
Constructors
KeyFileFlagsNone | No flags, default behaviour |
KeyFileFlagsKeepComments | Use this flag if you plan to write the (possibly modified) contents of the key file back to a file; otherwise all comments will be lost when the key file is written back. |
KeyFileFlagsKeepTranslations | Use this flag if you plan to write the (possibly modified) contents of the key file back to a file; otherwise only the translations for the current language will be written back. |
AnotherKeyFileFlags Int | Catch-all for unknown values |
Instances
LogLevelFlags
data LogLevelFlags Source #
Flags specifying the level of log messages.
It is possible to change how GLib treats messages of the various
levels using logSetHandler
and logSetFatalMask
.
Constructors
LogLevelFlagsFlagRecursion | internal flag |
LogLevelFlagsFlagFatal | internal flag |
LogLevelFlagsLevelError | log level for errors, see |
LogLevelFlagsLevelCritical | log level for critical warning messages, see
|
LogLevelFlagsLevelWarning | log level for warnings, see |
LogLevelFlagsLevelMessage | log level for messages, see |
LogLevelFlagsLevelInfo | log level for informational messages, see |
LogLevelFlagsLevelDebug | log level for debug messages, see |
LogLevelFlagsLevelMask | a mask including all log levels |
AnotherLogLevelFlags Int | Catch-all for unknown values |
Instances
MainContextFlags
data MainContextFlags Source #
Flags to pass to mainContextNewWithFlags
which affect the behaviour
of a MainContext
.
Since: 2.72
Constructors
MainContextFlagsNone | Default behaviour. |
MainContextFlagsOwnerlessPolling | Assume that polling for events will
free the thread to process other jobs. That's useful if you're using
|
AnotherMainContextFlags Int | Catch-all for unknown values |
Instances
MarkupCollectType
data MarkupCollectType Source #
A mixed enumerated type and flags field. You must specify one type
(string, strdup, boolean, tristate). Additionally, you may optionally
bitwise OR the type with the flag MarkupCollectTypeOptional
.
It is likely that this enum will be extended in the future to support other types.
Constructors
MarkupCollectTypeInvalid | used to terminate the list of attributes to collect |
MarkupCollectTypeString | collect the string pointer directly from
the attribute_values[] array. Expects a parameter of type (const
char **). If |
MarkupCollectTypeStrdup | as with |
MarkupCollectTypeBoolean | expects a parameter of type (gboolean *)
and parses the attribute value as a boolean. Sets |
MarkupCollectTypeTristate | as with |
MarkupCollectTypeOptional | can be bitwise ORed with the other fields. If present, allows the attribute not to appear. A default value is set depending on what value type is used |
AnotherMarkupCollectType Int | Catch-all for unknown values |
Instances
MarkupParseFlags
data MarkupParseFlags Source #
Flags that affect the behaviour of the parser.
Constructors
MarkupParseFlagsDefaultFlags | No special behaviour. Since: 2.74 |
MarkupParseFlagsDoNotUseThisUnsupportedFlag | flag you should not use |
MarkupParseFlagsTreatCdataAsText | When this flag is set, CDATA marked
sections are not passed literally to the |
MarkupParseFlagsPrefixErrorPosition | Normally errors caught by GMarkup
itself have line/column information prefixed to them to let the
caller know the location of the error. When this flag is set the
location information is also prefixed to errors generated by the
|
MarkupParseFlagsIgnoreQualified | Ignore (don't report) qualified attributes and tags, along with their contents. A qualified attribute or tag is one that contains ':' in its name (ie: is in another namespace). Since: 2.40. |
AnotherMarkupParseFlags Int | Catch-all for unknown values |
Instances
OptionFlags
data OptionFlags Source #
Flags which modify individual options.
Constructors
OptionFlagsNone | No flags. Since: 2.42. |
OptionFlagsHidden | The option doesn't appear in |
OptionFlagsInMain | The option appears in the main section of the
|
OptionFlagsReverse | For options of the |
OptionFlagsNoArg | For options of the |
OptionFlagsFilename | For options of the |
OptionFlagsOptionalArg | For options of the |
OptionFlagsNoalias | This flag turns off the automatic conflict
resolution which prefixes long option names with |
AnotherOptionFlags Int | Catch-all for unknown values |
Instances
RegexCompileFlags
data RegexCompileFlags Source #
Flags specifying compile-time options.
Since: 2.14
Constructors
RegexCompileFlagsDefault | No special options set. Since: 2.74 |
RegexCompileFlagsCaseless | Letters in the pattern match both upper- and lowercase letters. This option can be changed within a pattern by a "(?i)" option setting. |
RegexCompileFlagsMultiline | By default, GRegex treats the strings as consisting
of a single line of characters (even if it actually contains
newlines). The "start of line" metacharacter ("^") matches only
at the start of the string, while the "end of line" metacharacter
("$") matches only at the end of the string, or before a terminating
newline (unless |
RegexCompileFlagsDotall | A dot metacharacter (".") in the pattern matches all characters, including newlines. Without it, newlines are excluded. This option can be changed within a pattern by a ("?s") option setting. |
RegexCompileFlagsExtended | Whitespace data characters in the pattern are totally ignored except when escaped or inside a character class. Whitespace does not include the VT character (code 11). In addition, characters between an unescaped "#" outside a character class and the next newline character, inclusive, are also ignored. This can be changed within a pattern by a "(?x)" option setting. |
RegexCompileFlagsAnchored | The pattern is forced to be "anchored", that is, it is constrained to match only at the first matching point in the string that is being searched. This effect can also be achieved by appropriate constructs in the pattern itself such as the "^" metacharacter. |
RegexCompileFlagsDollarEndonly | A dollar metacharacter ("$") in the pattern
matches only at the end of the string. Without this option, a
dollar also matches immediately before the final character if
it is a newline (but not before any other newlines). This option
is ignored if |
RegexCompileFlagsUngreedy | Inverts the "greediness" of the quantifiers so that they are not greedy by default, but become greedy if followed by "?". It can also be set by a "(?U)" option setting within the pattern. |
RegexCompileFlagsRaw | Usually strings must be valid UTF-8 strings, using this flag they are considered as a raw sequence of bytes. |
RegexCompileFlagsNoAutoCapture | Disables the use of numbered capturing parentheses in the pattern. Any opening parenthesis that is not followed by "?" behaves as if it were followed by "?:" but named parentheses can still be used for capturing (and they acquire numbers in the usual way). |
RegexCompileFlagsOptimize | Since 2.74 and the port to pcre2, requests JIT compilation, which, if the just-in-time compiler is available, further processes a compiled pattern into machine code that executes much faster. However, it comes at the cost of extra processing before the match is performed, so it is most beneficial to use this when the same compiled pattern is used for matching many times. Before 2.74 this option used the built-in non-JIT optimizations in pcre1. |
RegexCompileFlagsFirstline | Limits an unanchored pattern to match before (or at) the first newline. Since: 2.34 |
RegexCompileFlagsDupnames | Names used to identify capturing subpatterns need not be unique. This can be helpful for certain types of pattern when it is known that only one instance of the named subpattern can ever be matched. |
RegexCompileFlagsNewlineCr | Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character is '\r'. |
RegexCompileFlagsNewlineLf | Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character is '\n'. |
RegexCompileFlagsNewlineCrlf | Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character sequence is '\r\n'. |
RegexCompileFlagsNewlineAnycrlf | Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character sequences are '\r', '\n', and '\r\n'. Since: 2.34 |
RegexCompileFlagsBsrAnycrlf | Usually any newline character or character sequence is recognised. If this option is set, then "\R" only recognizes the newline characters '\r', '\n' and '\r\n'. Since: 2.34 |
RegexCompileFlagsJavascriptCompat | Changes behaviour so that it is compatible with JavaScript rather than PCRE. Since GLib 2.74 this is no longer supported, as libpcre2 does not support it. Since: 2.34 Deprecated: 2.74 |
AnotherRegexCompileFlags Int | Catch-all for unknown values |
Instances
RegexMatchFlags
data RegexMatchFlags Source #
Flags specifying match-time options.
Since: 2.14
Constructors
RegexMatchFlagsDefault | No special options set. Since: 2.74 |
RegexMatchFlagsAnchored | The pattern is forced to be "anchored", that is, it is constrained to match only at the first matching point in the string that is being searched. This effect can also be achieved by appropriate constructs in the pattern itself such as the "^" metacharacter. |
RegexMatchFlagsNotbol | Specifies that first character of the string is
not the beginning of a line, so the circumflex metacharacter should
not match before it. Setting this without |
RegexMatchFlagsNoteol | Specifies that the end of the subject string is
not the end of a line, so the dollar metacharacter should not match
it nor (except in multiline mode) a newline immediately before it.
Setting this without |
RegexMatchFlagsNotempty | An empty string is not considered to be a valid match if this option is set. If there are alternatives in the pattern, they are tried. If all the alternatives match the empty string, the entire match fails. For example, if the pattern "a?b?" is applied to a string not beginning with "a" or "b", it matches the empty string at the start of the string. With this flag set, this match is not valid, so GRegex searches further into the string for occurrences of "a" or "b". |
RegexMatchFlagsPartial | Turns on the partial matching feature, for more
documentation on partial matching see |
RegexMatchFlagsNewlineCr | Overrides the newline definition set when
creating a new |
RegexMatchFlagsNewlineLf | Overrides the newline definition set when
creating a new |
RegexMatchFlagsNewlineCrlf | Overrides the newline definition set when
creating a new |
RegexMatchFlagsNewlineAny | Overrides the newline definition set when
creating a new |
RegexMatchFlagsNewlineAnycrlf | Overrides the newline definition set when
creating a new |
RegexMatchFlagsBsrAnycrlf | Overrides the newline definition for "\R" set when
creating a new |
RegexMatchFlagsBsrAny | Overrides the newline definition for "\R" set when
creating a new |
RegexMatchFlagsPartialSoft | An alias for |
RegexMatchFlagsPartialHard | Turns on the partial matching feature. In contrast to
to |
RegexMatchFlagsNotemptyAtstart | Like |
AnotherRegexMatchFlags Int | Catch-all for unknown values |
Instances
SpawnFlags
data SpawnFlags Source #
Flags passed to spawnSync
, spawnAsync
and spawnAsyncWithPipes
.
Constructors
SpawnFlagsDefault | no flags, default behaviour |
SpawnFlagsLeaveDescriptorsOpen | the parent's open file descriptors will
be inherited by the child; otherwise all descriptors except stdin,
stdout and stderr will be closed before calling |
SpawnFlagsDoNotReapChild | the child will not be automatically reaped;
you must use |
SpawnFlagsSearchPath |
|
SpawnFlagsStdoutToDevNull | the child's standard output will be discarded, instead of going to the same location as the parent's standard output. |
SpawnFlagsStderrToDevNull | the child's standard error will be discarded. |
SpawnFlagsChildInheritsStdin | the child will inherit the parent's standard
input (by default, the child's standard input is attached to |
SpawnFlagsFileAndArgvZero | the first element of |
SpawnFlagsSearchPathFromEnvp | if |
SpawnFlagsCloexecPipes | create all pipes with the |
SpawnFlagsChildInheritsStdout | The child will inherit the parent's standard output. Since: 2.74 |
SpawnFlagsChildInheritsStderr | The child will inherit the parent's standard error. Since: 2.74 |
SpawnFlagsStdinFromDevNull | The child's standard input is attached to Since: 2.74 |
AnotherSpawnFlags Int | Catch-all for unknown values |
Instances
TestSubprocessFlags
data TestSubprocessFlags Source #
Flags to pass to testTrapSubprocess
to control input and output.
Note that in contrast with testTrapFork
, the default is to
not show stdout and stderr.
Constructors
TestSubprocessFlagsDefault | Default behaviour. Since: 2.74 |
TestSubprocessFlagsInheritStdin | If this flag is given, the child
process will inherit the parent's stdin. Otherwise, the child's
stdin is redirected to |
TestSubprocessFlagsInheritStdout | If this flag is given, the child
process will inherit the parent's stdout. Otherwise, the child's
stdout will not be visible, but it will be captured to allow
later tests with |
TestSubprocessFlagsInheritStderr | If this flag is given, the child
process will inherit the parent's stderr. Otherwise, the child's
stderr will not be visible, but it will be captured to allow
later tests with |
AnotherTestSubprocessFlags Int | Catch-all for unknown values |
Instances
TestTrapFlags
data TestTrapFlags Source #
Deprecated: (Since version 2.38)tTestTrapFlags
is used only with testTrapFork
,which is deprecated. testTrapSubprocess
usestTestSubprocessFlags
.
Test traps are guards around forked tests. These flags determine what traps to set.
Constructors
TestTrapFlagsDefault | Default behaviour. Since: 2.74 |
TestTrapFlagsSilenceStdout | Redirect stdout of the test child to
|
TestTrapFlagsSilenceStderr | Redirect stderr of the test child to
|
TestTrapFlagsInheritStdin | If this flag is given, stdin of the
child process is shared with stdin of its parent process.
It is redirected to |
AnotherTestTrapFlags Int | Catch-all for unknown values |
Instances
TraverseFlags
data TraverseFlags Source #
Specifies which nodes are visited during several of the tree
functions, including nodeTraverse
and g_node_find()
.
Constructors
TraverseFlagsLeaves | only leaf nodes should be visited. This name has
been introduced in 2.6, for older version use
|
TraverseFlagsNonLeaves | only non-leaf nodes should be visited. This
name has been introduced in 2.6, for older
version use |
TraverseFlagsAll | all nodes should be visited. |
TraverseFlagsMask | a mask of all traverse flags. |
TraverseFlagsLeafs | identical to |
TraverseFlagsNonLeafs | identical to |
AnotherTraverseFlags Int | Catch-all for unknown values |
Instances
UriFlags
Flags that describe a URI.
When parsing a URI, if you need to choose different flags based on
the type of URI, you can use uriPeekScheme
on the URI string
to check the scheme first, and use that to decide what flags to
parse it with.
Since: 2.66
Constructors
UriFlagsNone | No flags set. |
UriFlagsParseRelaxed | Parse the URI more relaxedly than the
RFC 3986 grammar specifies,
fixing up or ignoring common mistakes in URIs coming from external
sources. This is also needed for some obscure URI schemes where |
UriFlagsHasPassword | The userinfo field may contain a password,
which will be separated from the username by |
UriFlagsHasAuthParams | The userinfo may contain additional
authentication-related parameters, which will be separated from
the username and/or password by |
UriFlagsEncoded | When parsing a URI, this indicates that |
UriFlagsNonDns | The host component should not be assumed to be a
DNS hostname or IP address (for example, for |
UriFlagsEncodedQuery | Same as |
UriFlagsEncodedPath | Same as |
UriFlagsEncodedFragment | Same as |
UriFlagsSchemeNormalize | A scheme-based normalization will be applied.
For example, when parsing an HTTP URI changing omitted path to |
AnotherUriFlags Int | Catch-all for unknown values |
Instances
Enum UriFlags Source # | |
Show UriFlags Source # | |
Eq UriFlags Source # | |
Ord UriFlags Source # | |
Defined in GI.GLib.Flags | |
IsGFlag UriFlags Source # | |
Defined in GI.GLib.Flags |
UriHideFlags
data UriHideFlags Source #
Flags describing what parts of the URI to hide in
uriToStringPartial
. Note that UriHideFlagsPassword
and
UriHideFlagsAuthParams
will only work if the Uri
was parsed with
the corresponding flags.
Since: 2.66
Constructors
UriHideFlagsNone | No flags set. |
UriHideFlagsUserinfo | Hide the userinfo. |
UriHideFlagsPassword | Hide the password. |
UriHideFlagsAuthParams | Hide the auth_params. |
UriHideFlagsQuery | Hide the query. |
UriHideFlagsFragment | Hide the fragment. |
AnotherUriHideFlags Int | Catch-all for unknown values |
Instances
UriParamsFlags
data UriParamsFlags Source #
Flags modifying the way parameters are handled by uriParseParams
and
UriParamsIter
.
Since: 2.66
Constructors
UriParamsFlagsNone | No flags set. |
UriParamsFlagsCaseInsensitive | Parameter names are case insensitive. |
UriParamsFlagsWwwForm | Replace |
UriParamsFlagsParseRelaxed | See |
AnotherUriParamsFlags Int | Catch-all for unknown values |