From 6c52d763eb9f6887ce7d09bb3b5913c80a816674 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 16 Jan 2007 04:35:14 +0000 Subject: const-ify the parts of the API that deal with firmware image blobs git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@16 537310ab-6354-42db-a3cc-247b777f7be6 --- software/include/oct6100api/oct6100_apiud.h | 2 +- software/include/oct6100api/oct6100_chip_open_inst.h | 2 +- software/include/oct6100api/oct6100_chip_open_pub.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'software/include') diff --git a/software/include/oct6100api/oct6100_apiud.h b/software/include/oct6100api/oct6100_apiud.h index 0b1b86e..2e1ece7 100644 --- a/software/include/oct6100api/oct6100_apiud.h +++ b/software/include/oct6100api/oct6100_apiud.h @@ -253,7 +253,7 @@ UINT32 Oct6100UserMemSet( UINT32 Oct6100UserMemCopy( IN PVOID f_pDestination, - IN PVOID f_pSource, + IN const void *f_pSource, IN UINT32 f_ulLength ); /* Serialization functions. */ diff --git a/software/include/oct6100api/oct6100_chip_open_inst.h b/software/include/oct6100api/oct6100_chip_open_inst.h index 49ba6d6..2017ca6 100644 --- a/software/include/oct6100api/oct6100_chip_open_inst.h +++ b/software/include/oct6100api/oct6100_chip_open_inst.h @@ -45,7 +45,7 @@ typedef struct _OCT6100_API_CHIP_CONFIG_ UINT32 ulUserChipId; PVOID pProcessContext; - PUINT8 pbyImageFile; /* Byte pointer to the image file to be uploaded into the chip. */ + unsigned char const *pbyImageFile; /* Byte pointer to the image file to be uploaded into the chip. */ UINT32 ulImageSize; /* Size of the image file (in bytes). */ UINT32 ulMemClkFreq; diff --git a/software/include/oct6100api/oct6100_chip_open_pub.h b/software/include/oct6100api/oct6100_chip_open_pub.h index 2dbe988..90ad6d1 100644 --- a/software/include/oct6100api/oct6100_chip_open_pub.h +++ b/software/include/oct6100api/oct6100_chip_open_pub.h @@ -50,7 +50,7 @@ typedef struct _OCT6100_CHIP_OPEN_ UINT32 ulMaxRwAccesses; - PUINT8 pbyImageFile; /* Byte pointer to the image file to be uploaded into the chip. */ + unsigned char const *pbyImageFile; /* Byte pointer to the image file to be uploaded into the chip. */ UINT32 ulImageSize; /* Size of the image file (in bytes). */ UINT32 ulMemClkFreq; /* 10 - 133.3 MHz. */ -- cgit v1.2.3