Linux Manuals session 3

Section 3: library functions

  • |

    Ttk_PadBox (3) Linux Manual Page

    Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj – Tk themed geometry utilities Synopsis #include <tkTheme.h> Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); Ttk_Box Ttk_PadBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_ExpandBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side); Ttk_Box Ttk_StickBox(Ttk_Box parcel, int width,…

  • |

    Ttk_PackBox (3) Linux Manual Page

    Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj – Tk themed geometry utilities Synopsis #include <tkTheme.h> Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); Ttk_Box Ttk_PadBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_ExpandBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side); Ttk_Box Ttk_StickBox(Ttk_Box parcel, int width,…

  • |

    Ttk_MakePadding (3) Linux Manual Page

    Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj – Tk themed geometry utilities Synopsis #include <tkTheme.h> Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); Ttk_Box Ttk_PadBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_ExpandBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side); Ttk_Box Ttk_StickBox(Ttk_Box parcel, int width,…

  • |

    Ttk_MakeBox (3) Linux Manual Page

    Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj – Tk themed geometry utilities Synopsis #include <tkTheme.h> Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); Ttk_Box Ttk_PadBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_ExpandBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side); Ttk_Box Ttk_StickBox(Ttk_Box parcel, int width,…

  • |

    Ttk_GetTheme (3) Linux Manual Page

    Ttk_CreateTheme, Ttk_GetTheme, Ttk_GetDefaultTheme, Ttk_GetCurrentTheme – create and use Tk themes. Synopsis Ttk_Theme Ttk_CreateTheme(interp, name, parentTheme); Ttk_Theme Ttk_GetTheme(interp, name); Ttk_Theme Ttk_GetDefaultTheme(interp); Ttk_Theme Ttk_GetCurrentTheme(interp); Arguments Tcl_Interp * interp (in) The Tcl interpreter in which to register/query available themes. Ttk_Theme parentTheme (in) Fallback or parent theme from which the new theme will inherit elements and layouts. const char…

  • |

    Ttk_GetStickyFromObj (3) Linux Manual Page

    Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj – Tk themed geometry utilities Synopsis #include <tkTheme.h> Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); Ttk_Box Ttk_PadBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_ExpandBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side); Ttk_Box Ttk_StickBox(Ttk_Box parcel, int width,…

  • |

    Ttk_GetPaddingFromObj (3) Linux Manual Page

    Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj – Tk themed geometry utilities Synopsis #include <tkTheme.h> Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); Ttk_Box Ttk_PadBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_ExpandBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side); Ttk_Box Ttk_StickBox(Ttk_Box parcel, int width,…

  • |

    Ttk_GetDefaultTheme (3) Linux Manual Page

    Ttk_CreateTheme, Ttk_GetTheme, Ttk_GetDefaultTheme, Ttk_GetCurrentTheme – create and use Tk themes. Synopsis Ttk_Theme Ttk_CreateTheme(interp, name, parentTheme); Ttk_Theme Ttk_GetTheme(interp, name); Ttk_Theme Ttk_GetDefaultTheme(interp); Ttk_Theme Ttk_GetCurrentTheme(interp); Arguments Tcl_Interp * interp (in) The Tcl interpreter in which to register/query available themes. Ttk_Theme parentTheme (in) Fallback or parent theme from which the new theme will inherit elements and layouts. const char…

  • |

    Ttk_GetCurrentTheme (3) Linux Manual Page

    Ttk_CreateTheme, Ttk_GetTheme, Ttk_GetDefaultTheme, Ttk_GetCurrentTheme – create and use Tk themes. Synopsis Ttk_Theme Ttk_CreateTheme(interp, name, parentTheme); Ttk_Theme Ttk_GetTheme(interp, name); Ttk_Theme Ttk_GetDefaultTheme(interp); Ttk_Theme Ttk_GetCurrentTheme(interp); Arguments Tcl_Interp * interp (in) The Tcl interpreter in which to register/query available themes. Ttk_Theme parentTheme (in) Fallback or parent theme from which the new theme will inherit elements and layouts. const char…

  • |

    Ttk_GetBorderFromObj (3) Linux Manual Page

    Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj – Tk themed geometry utilities Synopsis #include <tkTheme.h> Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); Ttk_Box Ttk_PadBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_ExpandBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side); Ttk_Box Ttk_StickBox(Ttk_Box parcel, int width,…

  • |

    Ttk_ExpandBox (3) Linux Manual Page

    Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj – Tk themed geometry utilities Synopsis #include <tkTheme.h> Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); Ttk_Box Ttk_PadBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_ExpandBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side); Ttk_Box Ttk_StickBox(Ttk_Box parcel, int width,…

  • |

    Ttk_CreateTheme (3) Linux Manual Page

    Ttk_CreateTheme, Ttk_GetTheme, Ttk_GetDefaultTheme, Ttk_GetCurrentTheme – create and use Tk themes. Synopsis Ttk_Theme Ttk_CreateTheme(interp, name, parentTheme); Ttk_Theme Ttk_GetTheme(interp, name); Ttk_Theme Ttk_GetDefaultTheme(interp); Ttk_Theme Ttk_GetCurrentTheme(interp); Arguments Tcl_Interp * interp (in) The Tcl interpreter in which to register/query available themes. Ttk_Theme parentTheme (in) Fallback or parent theme from which the new theme will inherit elements and layouts. const char…

  • |

    Ttk_BoxContains (3) Linux Manual Page

    Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj – Tk themed geometry utilities Synopsis #include <tkTheme.h> Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); Ttk_Box Ttk_PadBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_ExpandBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side); Ttk_Box Ttk_StickBox(Ttk_Box parcel, int width,…

  • |

    Ttk_AddPadding (3) Linux Manual Page

    Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj – Tk themed geometry utilities Synopsis #include <tkTheme.h> Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); Ttk_Box Ttk_PadBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_ExpandBox(Ttk_Box parcel, Ttk_Padding padding); Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int width, int height, Ttk_Side side); Ttk_Box Ttk_StickBox(Ttk_Box parcel, int width,…

  • |

    Tspi_TPM_TakeOwnership (3) Linux Manual Page

    TCG Software Stack Developer’s Reference Name Tspi_TPM_TakeOwnership – take ownership of a TPM Synopsis #include <tss/platform.h> #include <tss/tcpa_defines.h> #include <tss/tcpa_typedef.h> #include <tss/tcpa_struct.h> #include <tss/tss_typedef.h> #include <tss/tss_structs.h> #include <tss/tspi.h> TSS_RESULT Tspi_TPM_TakeOwnership(TSS_HTPM hTPM, TSS_HKEY hKeySRK, TSS_HKEY hEndorsementPubKey); Description Tspi_TPM_TakeOwnership takes ownership of a TPM. Taking ownership is the process of inserting a shared secret into the TPM….

  • |

    Tspi_TPM_StirRandom (3) Linux Manual Page

    TCG Software Stack Developer’s Reference Name Tspi_TPM_StirRandom – add entropy to the TPM random number generator Synopsis #include <tss/platform.h> #include <tss/tcpa_defines.h> #include <tss/tcpa_typedef.h> #include <tss/tcpa_struct.h> #include <tss/tss_typedef.h> #include <tss/tss_structs.h> #include <tss/tspi.h> TSS_RESULT Tspi_TPM_StirRandom(TSS_HTPM hTPM, UINT32 ulEntropyDataLength, BYTE* rgbEntropyData); Description Tspi_TPM_StirRandom adds entropy to the TPM random number generator for the purpose of generating better random…

  • |

    Tspi_TPM_SetStatus (3) Linux Manual Page

    TCG Software Stack Developer’s Reference Name Tspi_TPM_SetStatus – modify the TPM’s status Synopsis #include <tss/platform.h> #include <tss/tcpa_defines.h> #include <tss/tcpa_typedef.h> #include <tss/tcpa_struct.h> #include <tss/tss_typedef.h> #include <tss/tss_structs.h> #include <tss/tspi.h> TSS_RESULT Tspi_TPM_SetStatus(TSS_HTPM hTPM, TSS_FLAG statusFlag, TSS_BOOL fTpmState); Description Tspi_TPM_SetStatus alters the status of the TPM. Depending on the chosen statusFlag, fTpmState may or may not be ignored. This…

  • |

    Tspi_TPM_SelfTestFull (3) Linux Manual Page

    TCG Software Stack Developer’s Reference Name Tspi_TPM_SelfTestFull – perform a self-test of each internal TPM function Synopsis #include <tss/platform.h> #include <tss/tcpa_defines.h> #include <tss/tcpa_typedef.h> #include <tss/tcpa_struct.h> #include <tss/tss_typedef.h> #include <tss/tss_structs.h> #include <tss/tspi.h> TSS_RESULT Tspi_TPM_SelfTestFull(TSS_HTPM hTPM); Description Tspi_TPM_SelfTestFull assures that the TPM is functioning as designed. For FIPS certification, crypto modules are required to test themselves before…

  • |

    Tspi_TPM_Quote2 (3) Linux Manual Page

    Tspi_TPM_Quote2 – retreive a signed set of PCR values with a more complete view than Tspi_TPM_Quote. Synopsis #include <tss/platform.h> #include <tss/tcpa_defines.h> #include <tss/tcpa_typedef.h> #include <tss/tcpa_struct.h> #include <tss/tss_typedef.h> #include <tss/tss_structs.h> #include <tss/tspi.h> TSS_RESULT Tspi_TPM_Quote2(TSS_HTPM hTPM, TSS_HKEY hIdentKey, TSS_BOOL fAddVersion, TSS_HPCRS hPcrComposite, TSS_VALIDATION* pValidationData, UINT32* versionInfoSize, BYTE** versionInfo); Description Tspi_TPM_Quote2 quotes a TCG system, providing the requestor…

  • |

    Tspi_TPM_Quote (3) Linux Manual Page

    Tspi_TPM_Quote – retreive a signed set of PCR values. Synopsis #include <tss/platform.h> #include <tss/tcpa_defines.h> #include <tss/tcpa_typedef.h> #include <tss/tcpa_struct.h> #include <tss/tss_typedef.h> #include <tss/tss_structs.h> #include <tss/tspi.h> TSS_RESULT Tspi_TPM_Quote(TSS_HTPM hTPM, TSS_HKEY hIdentKey, TSS_HPCRS hPcrComposite, TSS_VALIDATION* pValidationData); Description Tspi_TPM_Quote destroys a context by passing in the handle to that context. Parameters hTPM Handle of the TPM object. hIdentKey Handle…