Meta tags:
Headings (most frequently used words):
parseint, parseargs, parseargsfromenvvar, parseargsfromstring, enumerations, typedefs, variables, functions, countalloptions, countoptionsets, nl, argparser, summary, classes, structs, optionargumenttype, nonoptionarghandlerfunct, optionhandlerfunct, printargerror, gactiveoptionsets, defaultprintargerror, findoptionbyid, findoptionbyindex, getnextarg, isshortoptionchar, makelongoptions, makeshortoptions, makeuniquehelpgroupnameslist, parseboolean, parsefabricid, parsehexstring, parseipaddress, parsenodeid, parsesubnetid, printoptionhelp, putstringwithblankline, putstringwithnewline, splitargs, github, support,
Text of the page (most frequently used words):
the (210), overview (105), char (99), const (80), #option (70), bool (67), #classes (65), optionset (63), and (58), string (58), parse (53), str (46), optsets (43), integer (39), value (37), output (37), function (34), bit (32), parsed (32), arguments (32), options (31), will (30), base (30), which (29), null (28), for (27), parseint (27), are (25), success (25), progname (25), pointer (24), int (24), that (23), true (23), parseargs (23), false (22), details (21), reference (21), unsigned (21), with (21), any (21), parser (21), parameters (20), attempt (20), convert (20), based (19), builder (19), returns (18), terminated (18), applying (18), appropriate (18), interpretation (18), parameter (18), structs (18), help (17), out (16), interpreted (16), set (16), nonoptarghandler (16), otherwise (15), stored (15), nonoptionarghandlerfunct (15), non (15), void (14), argv (14), list (13), argc (13), used (12), text (12), decimal (12), command (12), called (12), argument (12), ineventparam (12), failure (11), storage (11), representing (11), given (11), parsing (11), parseargsfromstring (11), error (11), name (11), line (11), outeventparam (11), argstr (10), print (10), uint64_t (10), uint32_t (10), parseargsfromenvvar (10), short (10), this (9), form (9), signed (9), characters (9), handler (9), ignoreunknown (9), optionsets (9), optiondef (9), array (9), thumb (8), weave (8), can (8), functions (8), each (8), size_t (8), file (7), was (7), successfully (7), not (7), number (7), syntax (7), passed (7), varname (7), definitions (7), argparser (7), platform (7), int32_t (6), should (6), specified (6), printoptionhelp (6), hexadecimal (6), node (6), hex (6), all (6), implied (6), outbuf (6), bytes (6), fabric (6), unrecognized (6), remaining (6), environment (6), variable (6), optset (6), defaultprintargerror (6), countoptionsets (6), countalloptions (6), down (5), pointers (5), structures (5), leading (5), may (5), input (5), ids (5), one (5), once (5), must (5), from (5), static (5), handling (5), call (5), printargerror (5), msg (5), português (4), español (4), requests (4), under (4), related (4), group (4), subnet (4), uint16_t (4), containing (4), parsenodeid (4), uint8_t (4), according (4), unless (4), encountered (4), ipaddress (4), address (4), outdatalen (4), hexstr (4), parsehexstring (4), following (4), allow (4), parsefabricid (4), listen (4), count (4), end (4), character (4), strings (4), whether (4), report (4), supplied (4), context (4), messages (4), common (4), debug (4), alias (4), contains (4), associated (4), applications (4), calling (4), optdef (4), handle (4), defines (4), unions (4), happy (3), openweave (3), github (3), information (3), too (3), code (3), last (3), content (3), see (3), license (3), splitargs (3), putstringwithnewline (3), putstringwithblankline (3), stream (3), contain (3), subnetid (3), parsesubnetid (3), accepts (3), prefixed (3), parseipaddress (3), outbufsize (3), strlen (3), case (3), whitespace (3), allowreserved (3), parseboolean (3), version (3), single (3), backslash (3), were (3), failed (3), returned (3), internal (3), silently (3), ignore (3), complete (3), regardless (3), remain (3), present (3), define (3), legal (3), program (3), being (3), prefix (3), warnings (3), using (3), named (3), helpgroupname (3), same (3), different (3), send (3), length (3), description (3), long (3), across (3), rather (3), kopt_count (3), kargumentrequired (3), arg (3), element (3), struct (3), optionsetbase (3), sets (3), process (3), than (3), makeuniquehelpgroupnameslist (3), makeshortoptions (3), makelongoptions (3), isshortoptionchar (3), getnextarg (3), findoptionbyindex (3), findoptionbyid (3), message (3), gactiveoptionsets (3), errors (3), optionhandlerfunct (3), optionargumenttype (3), security (3), provisioning (3), 한국어 (2), 日本語 (2), ภาษาไทย (2), বাংলা (2), हिंदी (2), فارسی (2), العربيّة (2), עברית (2), русский (2), türkçe (2), tiếng (2), việt (2), brasil (2), polski (2), italiano (2), indonesia (2), français (2), américa (2), latina (2), deutsch (2), english (2), google (2), groups (2), support (2), openthread (2), other (2), need (2), samples (2), updated (2), 2019 (2), utc (2), licensed (2), java (2), arglist (2), initialarg (2), printed (2), interpretting (2), lvalue (2), either (2), format (2), without (2), nodeid (2), int16_t (2), object (2), event (2), buffer (2), into (2), expects (2), pairs (2), ignored (2), range (2), fabricid (2), boolean (2), development (2), com (2), begin (2), quoted (2), within (2), escapes (2), quote (2), stripped (2), itself (2), similar (2), occurred (2), parses (2), does (2), together (2), uses (2), section (2), title (2), usage (2), multiple (2), have (2), logging (2), default (2), num (2), gtooloptionhelp (2), convention (2), lines (2), indented (2), spaces (2), purpose (2), requires (2), due (2), reused (2), creation (2), names (2), getopt_long (2), take (2), separate (2), identify (2), them (2), however (2), below (2), 1000 (2), knoargument (2), kopt_length (2), kopt_listen (2), allows (2), gtooloptiondefs (2), enum (2), organized (2), where (2), gtooloptions (2), handleoption (2), goptionsets (2), main (2), test (2), subclass (2), virtual (2), when (2), collections (2), style (2), parsepoint (2), optindex (2), optid (2), directly (2), currently (2), active (2), occur (2), during (2), variables (2), typedefs (2), requirements (2), enumerations (2), helpoptions (2), typedef (2), weavedevicemanager (2), weavedevicedescriptor (2), networkinfo (2), identifydevicecriteria (2), devicemanager (2), weavesecuritysupport (2), weavekeyid (2), weavecertificatesupport (2), passcodeencryptionsupport (2), hkdf (2), nestlabs (2), namespaces (2), schema (2), layer (2), stats (2), devicedescription (2), warm (2), root (2), deviceca (2), inetlayer (2), service (2), passive (2), rendezvous (2), serviceprovisioningserver (2), networkprovisioningserver (2), fabricprovisioningserver (2), weaveechoserver (2), weaveechoclient (2), devicedescriptionserver (2), devicecontrolserver (2), binding (2), transfererror (2), sendreject (2), sendinit (2), sendaccept (2), receivereject (2), receiveinit (2), receiveaccept (2), blocksend (2), blockquery (2), blockeofack (2), blockeof (2), blockack (2), resources (2), documents (2), guides (2), manage, cookies, privacy, terms, stack, overflow, bug, feature, easy, understand, easytounderstand, solved, problem, solvedmyproblem, otherup, missing, missingtheinformationineed, complicated, many, steps, toocomplicatedtoomanysteps, date, outofdate, issue, samplescodeissue, otherdown, tell, more, except, noted, page, registered, trademark, oracle, its, affiliates, marks, trademarks, thread, developers, site, policies, apache, creative, commons, attribution, formatted, words, meaning, 0xffffffffffffffff, data, malformed, small, receive, total, big, enough, hold, uint32_max, size, pointed, digits, upper, lower, optionally, separated, colon, semicolon, comma, period, dash, additionally, anywhere, reserved, values, insensitive, yes, hostname, nest, double, quotes, substrings, substring, only, special, next, corresponding, causing, treated, normal, delimited, escaped, unix, shell, but, simplified, quoting, scheme, specifically, splits, reads, passes, nothing, generated, level, exit, payload, respond, sent, another, consist, example, textual, has, before, primary, consistency, while, blank, follows, including, describes, these, generate, optionhelp, unique, because, use, discouraged, shared, programs, significant, chance, collisions, unlike, specifying, whose, falls, graphical, ascii, handles, optionhandler, relative, they, appear, thus, start, numbering, 128, created, kargumentoptional, defined, structure, elements, signaled, field, general, gnetworkoptions, gtestingoptions, ghelpoptions, app, lists, there, two, patterns, defining, optionsetsone, initialize, instance, global, provide, constructor, latter, pure, delegate, along, also, describing, designed, usable, simplifies, effort, needed, maintain, accept, processes, order, respective, recognized, been, greater, begins, second, plus, takes, supports, both, opt, implements, gnu, through, arise, progress, defaults, their, printing, stdout, stderr, logically, reusable, informational, summary, save, categorize, your, preferences, stay, feedback, wifisecuritytype, wifirole, wifimode, weavestack, weavedevicemanagerexception, completionhandler, weavedeviceexception, testfailedexception, testmain, targetfabricid, targetdevicemodes, resetflags, rendezvousmode, pairingcodeutils, nevispairingcodedecoding, networktype, getnetworkflags, failsafearmmode, devicefeatures, weavesecuritysupportexception, weavekeyexportsupport, weavekeyexportclient, constituentkeysource, applicationkeysupport, applicationgroupglobalid, bluetoothprofile, bluetoothgattservice, bluetoothgattdescriptor, bluetoothgattcharacteristic, bluetoothgattcallback, bluetoothgatt, android, bluetooth, managed, assignment, pages, auth, trait, thermostat, vendor, locale, viewresponse, viewrequest, bdxprotocol, persistedstorage, littleendian, bigendian, encoding, factoryprovisioningdata, deviceeventtype, pairingcode, production, nestcerts, token, pairing, remote, network, device, control, modules, applicationkeystraitdatasink, applicationkeystrait, modulestate, actionentry, warmfabricstatedelegate, findpredicatecontext, findcontext, utilities, dumpcontext, weavecirculartlvbuffer, tlvwriter, tlvupdater, tlvreader, circulartlvwriter, circulartlvreader, tlv, snapshot, objectarena, lwipevent, timer, packetbuffer, mutex, lwipeventhandlerdelegate, system, profilestringinfo, profilestringcontext, weavekeyexportsupportnative, weavekeyexportclientnative, pairingcodesupport, securitysupport, weavetunnelroute, weavetunnelheader, weavetunnelcontrol, weavetunnelconnectionmgr, weavetunnelagent, reconnectparam, weavetunnel, dropcamlegacypairingserver, dropcamlegacypairingdelegate, dropcamlegacypairing, tokenpairingserver, tokenpairingdelegate, tokenpairing, servingnode, contact, utcoffsetrecord, timezoneutcoffset, timesyncresponse, timesyncrequest, timesyncnode, timechangenotification, singlesourcetimesyncclient, _timesyncnodebase, time, statusreport, statusreporting, weaveimageannounceserver, updateschemelist, productspec, iweaveimageannounceserverdelegate, integritytypelist, integrityspec, imagequeryresponse, imagequery, imageannounce, softwareupdate, updateservicemessage, serviceprovisioningdelegate, registerservicepairaccountmessage, pairdevicetoaccountmessage, ifjservicefabricjoinmessage, serviceprovisioning, serviceconnectbeginargs, connectrequest, weaveservicemanager, servicedirectory, weavetaketokenauthdelegate, weavetakeengine, weavetakechallengerauthdelegate, encryptedpasscodestruct, passcodes, weavepaseengine, pase, weavestandalonekeyexportclient, weavekeyexportdelegate, weavekeyexport, __final, keyexport, weavenodeopauthdelegate, weavenodemfrattestdelegate, weavecertprovengine, certprovisioning, weavecaseengine, weavecaseauthdelegate, reconfigurecontext, beginsessionresponsecontext, beginsessionrequestcontext, beginsessioncontext, weavegroupkey, groupkeystorebase, dummygroupkeystore, appkeys, weavesignaturegeneratorbase, weavesignaturegenerator, weaveprovisioningbundle, weavedn, weavecertificateset, weavecertificatedata, validationcontext, certificatekeyid, wirelessregdomain, wirelessregconfig, networkprovisioningdelegate, networkprovisioning, weaveheartbeatsender, weaveheartbeatreceiver, heartbeat, fabricprovisioningdelegate, fabricprovisioning, echo_next, textdescriptorwriter, textdescriptorreader, identifyresponsemessage, identifyrequestmessage, devicedescriptionclient, devicecontroldelegate, devicecontrol, publisherdatamanager, dmtransaction, protocolengine, profiledata, profiledatabase, dmpublisher, dmclient, subscription, clientnotifier, clientdatamanager, datamanagement_legacy, versionlist, updateresponse, updaterequest, subscriberesponse, subscriberequest, subscribeconfirmrequest, subscribecancelrequest, statuslist, statuselement, rejectionrecordlist, rejectionrecord, pathlist, path, notificationrequest, eventlist, datalist, dataelement, customcommandresponse, customcommand, basemessagewithsubscribeid, timestamp, versionedtraitpath, record, traitpathstore, traitpath, schemaversionrange, reclaimeventctx, logstorageresources, externalevents, eventschema, eventoptions, eventloadoutcontext, eventenvelopecontext, detailedrootsection, debuglogcontext, copyandadjustdeltatimecontext, constschemaversionrange, circulareventbuffer, eventparam, viewclient, updateencoder, updatedirtypathfilter, updatedictionarydirtypathcut, updateclient, traitupdatabledatasink, propertyinfo, isetdatadelegate, igetdatadelegate, traitschemaengine, traitdatasource, traitdatasink, traitcatalogbase, traitinstanceinfo, subscriptionhandler, subscriptionengine, resubscribeparam, lastobservedevent, subscriptionclient, catalogitem, singleresourcetraitcatalog, resourceidentifier, parserbase, notifyrequestbuilder, store, intermediategraphsolver, basicgraphsolver, notificationengine, loggingmanagement, loggingconfiguration, logbdxupload, listparserbase, listbuilderbase, iweavewdmmutex, iweavepublisherlock, ipathfilter, idirtypathcut, idataelementaccesscontroldelegate, generictraitcatalogimpl, synchronizedtraitstate, sendparams, commandsender, circulareventreader, builderbase, alwaysacceptdataelementaccesscontroldelegate, datamanagement_current, bdxdelegate, bulkdatatransfer, bdxtransfer, bdxhandlers, blocksendv1, blockqueryv1, blockeofv1, blockeofackv1, blockackv1, bdxnode, bdx_development, weavebdxdelegate, weavebdxclient, bdx_current, retainedpacketbuffer, referencedtlvdata, referencedstring, messageiterator, profiles, sha256, sha1, aes256blockcipherenc, aes256blockcipherdec, aes256blockcipher, aes128blockcipherenc, aes128blockcipherdec, aes128blockcipher, traitschemadirectory, devicestatus, wifitelemetry, weavetelemetrybase, tunneltelemetry, threadtopology, threadtelemetry, nrf5config, networktelemetrymanager, networkprovisioningserverimpl, groupkeystoreimpl, genericthreadstackmanagerimpl_openthread_lwip, genericthreadstackmanagerimpl_openthread, genericthreadstackmanagerimpl_freertos, genericsoftwareupdatemanagerimpl_bdx, genericsoftwareupdatemanagerimpl, genericconnectivitymanagerimpl_thread, genericconnectivitymanagerimpl_nowifi, genericconnectivitymanagerimpl_notunnel, genericconnectivitymanagerimpl_nothread, genericconnectivitymanagerimpl_noble, genericconnectivitymanagerimpl_ble, genericconnectivitymanagerimpl, genericconfigurationmanagerimpl, factoryprovisioningbase, factoryprovisioning, esp32utils, key, esp32config, efr32config, echoserver, devicenetworkinfo, deviceidentitytraitdatasource, blemanagerimpl, blemanager, weavedeviceplatformevent, weavedeviceevent, traitmanager, timesyncmanager, threadstackmanagerimpl, threadstackmanager, softwareupdatemanagerimpl, retryparam, softwareupdatemanager, platformmanagerimpl, platformmanager, connectivitymanagerimpl, threadpollingconfig, connectivitymanager, configurationmanagerimpl, configurationmanager, devicelayer, hmac, hkdfsha1or256, encodedrsasignature, encodedrsakey, encodedhmacsignature, encodedecpublickey, encodedecprivatekey, encodedecdsasignature, ctrmode, ctr_drbg, crypto, asn1writer, asn1universaltime, asn1reader, asn1, weaveencryptionkey, wrmpconfig, weavemessageinfo, jnilibrarymethod, weavesessionstate, weavesessionkey, weaveserverdelegatebase, weaveserverbase, weavesecuritymanager, weavemsgencryptionkeycache, weavemsgencryptionkey, initcontext, weavemessagelayer, sessionendcbctxt, weavefabricstate, weaveexchangemanager, weaveexchangeheader, weaveencryptionkey_aes128ctrsha1, weaveconnectiontunnel, weaveconnection, persistedcounter, monotonicallyincreasingcounter, jniutils, hostportlist, fabricstatedelegate, exchangecontext, counter, configuration, peersockaddr, udpendpoint, tunendpoint, tcpendpoint, socketevents, rawendpoint, ipprefix, ippacketinfo, ipendpointbasis, interfaceiterator, interfaceaddressiterator, inetlayerbasis, endpointbasis, dnsresolver, asyncdnsresolversockets, inet, weaveservicedata, weaveidinfo, characteristic, bluezserverendpoint, bluezperipheralargs, adapter, bluez, weavebleuuid, weavebledeviceidentificationinfo, wobletxrecord, wobletxhistogram, wobletest, woble, btcommandtypewoblemtu, btcommandtypewindowsize, btcommandtypetxtiming, btcommandtypetestresult, btcommandtypetestrequest, btcommandtypetestdata, btcommandtypeack, btcommandheader, bletransportcommandmessage, bletransportcapabilitiesresponsemessage, bletransportcapabilitiesrequestmessage, bleplatformdelegate, blelayerobject, blelayer, bleendpoint, bleapplicationdelegate, ble, structureschemapointerpair, serializedfieldtypeutf8string_array, serializedfieldtypeuint8_array, serializedfieldtypeuint64_array, serializedfieldtypeuint32_array, serializedfieldtypeuint16_array, serializedfieldtypeint8_array, serializedfieldtypeint64_array, serializedfieldtypeint32_array, serializedfieldtypeint16_array, serializedfieldtypefloatingpoint64_array, serializedfieldtypefloatingpoint32_array, serializedfieldtypebytestring_array, serializedfieldtypeboolean_array, serializedbytestring, serializationcontext, schemafielddescriptor, memorymanagement, fielddescriptor, errorformatter, arraylengthandbuffer, sign, skip, namespace,
Text of the page (random words):
r subscribecancelrequest overview classes builder parser subscribeconfirmrequest overview classes builder parser subscriberequest overview classes builder parser subscriberesponse overview classes builder parser updaterequest overview classes parser updateresponse overview classes builder parser versionlist overview classes builder parser datamanagement_legacy overview classes binding clientdatamanager clientnotifier overview subscription dmclient dmpublisher profiledatabase overview profiledata protocolengine overview dmtransaction publisherdatamanager devicecontrol overview classes devicecontroldelegate devicecontrolserver devicedescription overview classes devicedescriptionclient devicedescriptionserver identifydevicecriteria identifyrequestmessage identifyresponsemessage textdescriptorreader textdescriptorwriter weavedevicedescriptor echo_next overview classes weaveechoclient overview ineventparam outeventparam weaveechoserver overview ineventparam outeventparam fabricprovisioning overview classes fabricprovisioningdelegate fabricprovisioningserver heartbeat overview classes weaveheartbeatreceiver weaveheartbeatsender overview ineventparam outeventparam networkprovisioning overview classes networkinfo networkprovisioningdelegate networkprovisioningserver wirelessregconfig structs wirelessregdomain security overview classes certificatekeyid validationcontext weavecertificatedata weavecertificateset weavedn weaveprovisioningbundle weavesignaturegenerator weavesignaturegeneratorbase appkeys overview classes dummygroupkeystore groupkeystorebase weavegroupkey case overview classes beginsessioncontext beginsessionrequestcontext beginsessionresponsecontext reconfigurecontext weavecaseauthdelegate weavecaseengine certprovisioning overview classes weavecertprovengine overview ineventparam outeventparam weavenodemfrattestdelegate weavenodeopauthdelegate keyexport overview classes __final weavekeyexport weavekeyexportdelegate weavestandalonekeyexportclient pase overview classes weavepaseengine passcodes overview structs encryptedpasscodestruct take overview classes weavetakechallengerauthdelegate weavetakeengine weavetaketokenauthdelegate servicedirectory overview classes weaveservicemanager overview connectrequest structs serviceconnectbeginargs serviceprovisioning overview classes ifjservicefabricjoinmessage pairdevicetoaccountmessage registerservicepairaccountmessage serviceprovisioningdelegate serviceprovisioningserver updateservicemessage softwareupdate overview classes imageannounce imagequery imagequeryresponse integrityspec integritytypelist iweaveimageannounceserverdelegate productspec updateschemelist weaveimageannounceserver statusreporting overview classes statusreport time overview classes _timesyncnodebase singlesourcetimesyncclient timechangenotification timesyncnode timesyncrequest timesyncresponse timezoneutcoffset overview utcoffsetrecord structs contact servingnode tokenpairing overview classes tokenpairingdelegate tokenpairingserver dropcamlegacypairing overview classes dropcamlegacypairingdelegate dropcamlegacypairingserver weavetunnel overview classes reconnectparam weavetunnelagent weavetunnelconnectionmgr weavetunnelcontrol weavetunnelheader weavetunnelroute securitysupport overview classes pairingcodesupport passcodeencryptionsupport weavecertificatesupport weavekeyexportclientnative weavekeyexportsupportnative weavesecuritysupport support overview structs profilestringcontext profilestringinfo system overview classes layer lwipeventhandlerdelegate mutex object packetbuffer timer structs lwipevent unions objectarena stats overview classes snapshot tlv overview classes circulartlvreader circulartlvwriter tlvreader tlvupdater tlvwriter weavecirculartlvbuffer debug overview structs dumpcontext utilities overview structs findcontext findpredicatecontext warm overview classes warmfabricstatedelegate structs actionentry modulestate applicationkeystrait overview classes applicationkeystraitdatasink modules device control fabric provisioning network provisioning passive rendezvous remote passive rendezvous service provisioning token pairing namespaces platform platform inetlayer nestcerts development deviceca root production deviceca root pairingcode warm deviceeventtype factoryprovisioningdata encoding bigendian littleendian logging platform persistedstorage bdxprotocol common platform viewrequest viewresponse locale vendor nestlabs devicedescription thermostat platform stats platform layer platform schema weave trait auth related pages address assignment managed namespaces java android bluetooth overview bluetoothgatt bluetoothgattcallback bluetoothgattcharacteristic bluetoothgattdescriptor bluetoothgattservice bluetoothprofile com nestlabs weave security overview applicationgroupglobalid applicationkeysupport overview constituentkeysource hkdf passcodeencryptionsupport weavecertificatesupport weavekeyexportclient weavekeyexportsupport weavekeyid weavesecuritysupport weavesecuritysupportexception nl weave devicemanager overview devicefeatures failsafearmmode getnetworkflags identifydevicecriteria networkinfo networktype nevispairingcodedecoding pairingcodeutils rendezvousmode resetflags targetdevicemodes targetfabricid testmain overview testfailedexception weavedevicedescriptor weavedeviceexception weavedevicemanager overview completionhandler weavedevicemanagerexception weavestack wifimode wifirole wifisecuritytype openweave reference send feedback stay organized with collections save and categorize content based on your preferences nl argparser summary enumerations optionargumenttype enum defines the argument requirements for a command line option typedefs nonoptionarghandlerfunct const char progname int argc char argv typedef bool a function that can be called to handle any remaining non option command line arguments optionhandlerfunct const char progname optionset optset int id const char name const char arg typedef bool a function that can be called to handle a set of command line options variables printargerror defaultprintargerror const char msg void pointer to function used to print errors that occur during argument parsing gactiveoptionsets null optionset the list of optionsets passed to the currently active parseargs call functions countalloptions optionset optsets size_t countalloptions optionset optsets size_t countoptionsets optionset optsets size_t countoptionsets optionset optsets size_t defaultprintargerror const char msg void print an error message associated with argument parsing findoptionbyid optionset optsets int optid optionset optset optiondef optdef void findoptionbyindex optionset optsets int optindex optionset optset optiondef optdef void getnextarg char parsepoint bool isshortoptionchar int ch bool makelongoptions optionset optsets struct option makeshortoptions optionset optsets char makeuniquehelpgroupnameslist optionset optsets const char parseargs const char progname int argc char argv optionset optsets nonoptionarghandlerfunct nonoptarghandler bool ignoreunknown bool parse a set of command line style arguments calling handling functions to process each option and non option argument parseargs const char progname int argc char argv optionset optsets nonoptionarghandlerfunct nonoptarghandler bool parseargs const char progname int argc char argv optionset optsets bool parseargsfromenvvar const char progname const char varname optionset optsets nonoptionarghandlerfunct nonoptarghandler bool ignoreunknown bool parse a set of arguments from a named environment variable parseargsfromenvvar const char progname const char varname optionset optsets bool parseargsfromenvvar const char progname const char varname optionset optsets nonoptionarghandlerfunct nonoptarghandler bool parseargsfromstring const char progname const char argstr optionset optsets nonoptionarghandlerfunct nonoptarghandler bool ignoreunknown bool parse a set of arguments from a given string parseargsfromstring const char progname const char argstr optionset optsets nonoptionarghandlerfunct nonoptarghandler bool parseargsfromstring const char progname const char argstr optionset optsets bool parseboolean const char str bool output bool parse a string as a boolean value parsefabricid const char str uint64_t fabricid bool allowreserved bool parse a weave fabric id in text form parsehexstring const char hexstr uint32_t strlen uint8_t outbuf uint32_t outbufsize uint32_t outdatalen bool parse a string of bytes given in hex form parseipaddress const char str ipaddress output bool parse an ip address in text form parseint const char str uint64_t output int base bool parse and attempt to convert a string to a 64 bit unsigned integer applying the appropriate interpretation based on the base parameter parseint const char str uint32_t output int base bool parse and attempt to convert a string to a 32 bit unsigned integer applying the appropriate interpretation based on the base parameter parseint const char str int32_t output int base bool parse and attempt to convert a string to a 32 bit signed integer applying the appropriate interpretation based on the base parameter parseint const char str uint64_t output bool parse and attempt to convert a string interpreted as a decimal value to a 64 bit unsigned integer applying the appropriate interpretation based on the base parameter parseint const char str uint32_t output bool parse and attempt to convert a string interpreted as a decimal value to a 32 bit unsigned integer applying the appropriate interpretation based on the base parameter parseint const char str int32_t output bool parse and attempt to convert a string interpreted as a decimal value to a 32 bit signed integer applying the appropriate interpretation based on the base parameter parseint const char str uint16_t output bool parse and attempt to convert a string interpreted as a decimal value to a 16 bit unsigned integer applying the appropriate interpretation based on the base parameter parseint const char str int16_t output bool parse and attempt to convert a string interpreted as a decimal value to a 16 bit signed integer applying the appropriate interpretation based on the base parameter parseint const char str uint8_t output bool parse and attempt to convert a string interpreted as a decimal value to a 8 bit unsigned integer applying the appropriate interpretation based on the base parameter parsenodeid const char str uint64_t nodeid bool parse a weave node id in text form parsesubnetid const char str uint16_t subnetid bool parse and attempt to convert a string to a 16 bit unsigned subnet id interpretting the string as hexadecimal printoptionhelp optionset optsets file s void print the help text for a specified list of options to a stream putstringwithblankline file s const char str void putstringwithnewline file s const char str void splitargs char argstr char arglist char initialarg int32_t classes nl argparser helpoptions common optionset for handling informational options help version nl argparser optionsetbase an optionset where the handler is a virtual function structs nl argparser optiondef defines a command line option nl argparser optionset defines a group of logically related and reusable command line options enumerations optionargumenttype optionargumenttype defines the argument requirements for a command line option typedefs nonoptionarghandlerfunct bool nonoptionarghandlerfunct const char progname int argc char argv a function that can be called to handle any remaining non option command line arguments optionhandlerfunct bool optionhandlerfunct const char progname optionset optset int id const char name const char arg a function that can be called to handle a set of command line options variables printargerror void printargerror const char msg defaultprintargerror pointer to function used to print errors that occur during argument parsing applications should call printargerror to report errors in their option and non option argument handling functions rather than printing directly to stdout stderr defaults to a pointer to the defaultprintargerror function gactiveoptionsets optionset gactiveoptionsets null the list of optionsets passed to the currently active parseargs call this value will be null when no call to parseargs is in progress functions countalloptions size_t countalloptions optionset optsets countalloptions size_t countalloptions optionset optsets countoptionsets size_t countoptionsets optionset optsets countoptionsets size_t countoptionsets optionset optsets defaultprintargerror void defaultprintargerror const char msg print an error message associated with argument parsing default function used to print error messages that arise due to the parsing of arguments details parameters in msg the message to be printed applications should call through the printargerror function pointer rather than calling this function directly findoptionbyid void findoptionbyid optionset optsets int optid optionset optset optiondef optdef findoptionbyindex void findoptionbyindex optionset optsets int optindex optionset optset optiondef optdef getnextarg bool getnextarg char parsepoint isshortoptionchar bool isshortoptionchar int ch makelongoptions struct option makelongoptions optionset optsets makeshortoptions char makeshortoptions optionset optsets makeuniquehelpgroupnameslist const char makeuniquehelpgroupnameslist optionset optsets parseargs bool parseargs const char progname int argc char argv optionset optsets nonoptionarghandlerfunct nonoptarghandler bool ignoreunknown parse a set of command line style arguments calling handling functions to process each option and non option argument parseargs takes a list of arguments argv and parses them according to a set of supplied option definitions the function supports both long opt and short o options and implements the same option syntax as the gnu getopt_long 3 function details parameters in progname the name of the program or context in which the arguments are being parsed this string will be used to prefix error messages and warnings in argc the number of arguments to be parsed plus 1 in argv an array of argument strings to be parsed the array length must be 1 greater than the value specified for argc and argv argc must be set to null argument parsing begins with the second array element argv 1 element 0 is ignored in optsets a list of pointers to optionset structures that define the legal options the supplied list must be terminated with a null in nonoptarghandler a pointer to a function that will be called once option parsing is complete with any remaining non option arguments the function is called regardless of whether any arguments remain if a null is passed parseargs will report an error if any non option arguments are present in ignoreunknown if true silently ignore any unrecognized options returns true if all options and non option arguments were parsed successfully false if an option was unrecognized or if one of the handler functions failed i e...
|