#ifndef TA_ADDDATASOURCEPARAM_PRIV_H
#define TA_ADDDATASOURCEPARAM_PRIV_H

/* The following is a private copy of the user provided
 * parameters for a TA_AddDataSource call.
 *
 * Code is in 'ta_data_interface.c'
 */
typedef struct
{
  TA_SourceId   id;
  TA_SourceFlag flags;
  TA_Period     period;

  TA_String *location;
  TA_String *info;
  TA_String *username;
  TA_String *password;
  TA_String *category;
  TA_String *country;
  TA_String *exchange;
  TA_String *type;
  TA_String *symbol;
} TA_AddDataSourceParamPriv;

/* Function to alloc/free a TA_AddDataSourceParamPriv. */
TA_AddDataSourceParamPriv *TA_AddDataSourceParamPrivAlloc( const TA_AddDataSourceParam *param );

TA_RetCode TA_AddDataSourceParamPrivFree( TA_AddDataSourceParamPriv *toBeFreed );

#endif

#ifndef TA_ADDDATASOURCEPARAM_PRIV_H
#define TA_ADDDATASOURCEPARAM_PRIV_H

/* The following is a private copy of the user provided
 * parameters for a TA_AddDataSource call.
 *
 * Code is in 'ta_data_interface.c'
 */
typedef struct
{
  TA_SourceId   id;
  TA_SourceFlag flags;
  TA_Period     period;

  TA_String *location;
  TA_String *info;
  TA_String *username;
  TA_String *password;
  TA_String *category;
  TA_String *country;
  TA_String *exchange;
  TA_String *type;
  TA_String *symbol;
  TA_String *name;
} TA_AddDataSourceParamPriv;

/* Function to alloc/free a TA_AddDataSourceParamPriv. */
TA_AddDataSourceParamPriv *TA_AddDataSourceParamPrivAlloc( const TA_AddDataSourceParam *param );

TA_RetCode TA_AddDataSourceParamPrivFree( TA_AddDataSourceParamPriv *toBeFreed );

#endif

Add "TA_String *name" to TA_AddDataSourceParamPriv
Add "TA_String *name" to TA_AddDataSourceParamPriv


git-svn-id: 33305d871a58cfd02b407b81d5206d2a785211eb@541 159cb52c-178a-4f3c-8eb8-d0aff033d058
