SqueezeBrains SDK 1.13
master_license_request.c File Reference

Tutoral 2 - How to require a master license. More...

#include "../common/common.h"
Include dependency graph for master_license_request.c:

Go to the source code of this file.

Functions

int main (void)
 

Detailed Description

Tutoral 2 - How to require a master license.

When you want to buy a master license for a machine you have to send to licen.nosp@m.sing.nosp@m.@fabe.nosp@m.rvis.nosp@m.ion.c.nosp@m.om a file with the hardware informations of the machine. With this file SqueezeBrains can generate a master license for the machine. To get the hardware informations you have to call the function sb_license_get_hw_info and then save them in a file.

See also
sb_init
sb_release
sb_get_info
sb_license_get_hw_info
sb_free

Definition in file master_license_request.c.

Function Documentation

◆ main()

int main ( void  )

In the following the list of the program steps:

  1. Initialization of the SqueezeBrains library.

    Since we only want to generate the file to request a master license, we do not need a valid license.
    So it is possible to call the function sb_init with SB_INIT_NO_LICENSE_KEY.

  2. Get the hardware information of the machine and save them in a file.
  3. Release the library.

Definition at line 20 of file master_license_request.c.

Here is the call graph for this function: