Interfa...TNC::IMC(3)

πŸ“¦
version 1.0 Β· 2 versions
, in fedora 43

πŸ’– Interfa...TNC::IMC πŸ’–

okay so bestie, welcome to section 3 of the manual β€” User Contributed Perl Documentation, which is giving ✨ community vibes ✨. This is Interfa...TNC::IMC, a Perl extension, and the whole thing is... a stub. no cap. we'll get to that.


✨ NAME ✨

Interface::TNC::IMC β€” Perl extension for blah blah blah 🫢


🌸 SYNOPSIS 🌸

use Interface::TNC::IMC;
blah blah blah

that's it. that's the whole synopsis. iconic, honestly πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea πŸ“ β€” this is the stub documentation for Interface::TNC::IMC, and it was created by h2xs. and the way that the author of the extension was negligent enough to leave the stub unedited?? 😭 literally just left it there. untouched. main character energy but for procrastination.

blah blah blah.

πŸŽ€ EXPORT πŸŽ€

None by default. periodt. nothing gets exported unless you ask. as it should be πŸ’…

πŸ’œ Exportable constants πŸ’œ

these are all the constants you can export, in the exact order the original blesses us with them:

TNC_CONNECTIONID_ANY
TNC_CONNECTION_STATE_ACCESS_ALLOWED
TNC_CONNECTION_STATE_ACCESS_ISOLATED
TNC_CONNECTION_STATE_ACCESS_NONE
TNC_CONNECTION_STATE_CREATE
TNC_CONNECTION_STATE_DELETE
TNC_CONNECTION_STATE_HANDSHAKE
TNC_IFIMC_VERSION_1
TNC_IMC_API
TNC_LOG_SEVERITY_DEBUG
TNC_LOG_SEVERITY_ERR
TNC_LOG_SEVERITY_INFO
TNC_LOG_SEVERITY_NOTICE
TNC_LOG_SEVERITY_WARNING
TNC_RESULT_ALREADY_INITIALIZED
TNC_RESULT_CANT_RESPOND
TNC_RESULT_CANT_RETRY
TNC_RESULT_FATAL
TNC_RESULT_ILLEGAL_OPERATION
TNC_RESULT_INVALID_PARAMETER
TNC_RESULT_NOT_INITIALIZED
TNC_RESULT_NO_COMMON_VERSION
TNC_RESULT_OTHER
TNC_RESULT_SUCCESS
TNC_RESULT_WONT_RETRY
TNC_RETRY_REASON_IMC_INFORMATIONAL_EVENT
TNC_RETRY_REASON_IMC_PERIODIC
TNC_RETRY_REASON_IMC_REMEDIATION_COMPLETE
TNC_RETRY_REASON_IMC_SERIOUS_EVENT
TNC_SUBTYPE_ANY
TNC_VENDORID_ANY
TNC_VENDORID_TCG

thirty-two of them. all of them. no skips, no merges, we list them all because that's what we do here πŸ”₯

🌈 Exportable functions 🌈

and here are the exportable functions, signatures copied exactly because we do not touch the code, bestie:

TNC_Result BatchEnding(
         TNC_ConnectionID connectionID)
TNC_Result BeginHandshake(
         TNC_ConnectionID connectionID)
TNC_Result NotifyConnectionChange(
         TNC_ConnectionID connectionID,
         TNC_ConnectionState newState)
TNC_Result ReceiveMessage(
         TNC_ConnectionID connectionID,
         TNC_BufferReference messageBuffer,
         TNC_UInt32 messageLength,
         TNC_MessageType messageType)
TNC_Result Terminate()
TNC_Result destroy(
         libtnc_imc* self)
int load_config(
         char* filename)
TNC_Result load_modules(
         const char* filenames[])
int load_std_config()
libtnc_imc* new(
         char* filename)
TNC_Result unload()

look at that little lineup πŸ₯Ή BatchEnding, BeginHandshake, NotifyConnectionChange, ReceiveMessage, Terminate, destroy, load_config, load_modules, load_std_config, new, unload. obsessed.


πŸ‘‘ SEE ALSO πŸ‘‘

so the original is like "mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards." β€” and honestly? that's a placeholder, bestie, not actual docs. iykyk 😭

it also says: if you have a mailing list set up for your module, mention it here.

and: if you have a web site set up for your module, mention it here.

so like... nothing to see here yet. vibe check: pending ⭐


🌟 AUTHOR 🌟

Mike McCauley, <mikem@suse.de> πŸ’–


Copyright (C) 2006 by Mike McCauley

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

so yeah, fr fr β€” same terms as Perl itself, version 5.8.7 or literally any later Perl 5 you've got lying around. your call, bestie 🫢

and that's the whole page, angel πŸ’– this was built with perl v5.42.0 and dated 2025-07-24 β€” go forth and... edit the stub, maybe? πŸ™ˆ mwah πŸ’‹

πŸ“¦ where this page comes from