Intermec ck1 Reference Guide

Page of 390
Chapter 2 — Configuring the CK1 System 
102 
CK1 SDK Programmer’s Reference Manual 
Setting the Image Name (continued) 
 On-Host Parameters:  SpecPart No 
action 
ImageName No 
action 
 
On-Host Return:  Always return -1 
Getting the Vendor Information of the Image File 
 
Purpose:  Get the vendor information of this image in the specified partition. 
 
Syntax: 
char *RUGetVendor(char *SpecPart)
 
 On-CK1 Parameters:  SpecPart 
{kernel, rootfs, usrlocal} 
 
On-CK1 Return:  Vendor information of this image in the specified partition 
 
Config File: 
/etc/config/default_ru_versoin_$(SpecPart)
 
 On-Host Parameters:  SpecPart No 
action 
 
On-Host Return:  Always return NULL 
Getting the Product Information of the Image File 
 
Purpose:  Get the product information of this image in the specified partition. 
 
Syntax: 
char *RUGetProduct(char *SpecPart)
 
 On-CK1 Parameters:  SpecPart 
{kernel, rootfs, usrlocal} 
 
On-CK1 Return:  Product information of this image in the specified partition 
 
Config File: 
/etc/config/default_ru_version_$(SpecPart)
 
 On-Host Parameters:  SpecPart No 
action 
 
On-Host Return:  Always return NULL 
Getting the Version Information of the Image File 
 
Purpose:  Get the version information of this image in the specified partition. 
 
Syntax: 
char *RUGetVersion(char *SpecPart)
 
 On-CK1 Parameters:  SpecPart 
{kernel, rootfs, usrlocal} 
 
On-CK1 Return:  Version information of this image in the specified partition 
 
Config File: 
/etc/config/default_ru_version_$(SpecPart)
 
 On-Host Parameters:  ImageFile No 
action 
 
On-Host Return:  Always return NULL