Languages

Menu
Sites
Language
Alternative to Undocumented APIs.

Hi,

Can someone give me the altenatives for the below APIs which are Undocumented in Tizen API reference.

Currently i am using the below mentioned undocumented apis. Tizen store has reported back stating not to use undocumented apis as they can be changed without notice.

ecore_file_mv
av_reverse
avpriv_mpa_freq_tab
ff_sqrt_tab
avpriv_ac3_channel_layout_tab
avpriv_mpeg4audio_sample_rates
ecore_file_unlink
ff_log2_tab
av_pix_fmt_descriptors
ff_raw_pix_fmt_tags
ecore_file_file_get
elm_win_xwindow_get

 

Edited by: Anand Rudrakshi on 27 Jul, 2015

Responses

4 Replies
colin Rao

not clearly your purpose!!! could be more detailded?

pius lee

I have alternatives for only two function.

 

ecore_file_file_get() can be replaced with basename()

#include <libgen.h>

char *file_name = basename(path);

 

ecore_file_unlink() can be replaced with remove()

#include <stdio.h>

if (!remove( "a.out") {
    // code for successful remove
}

 

daniel kim

Hi,

I could build souce code which contains below APIs.  so it seems that those Apis are available even if it's not documented.

    

 ecore_file_file_get ("/tmp");

 ecore_file_unlink("/tmp");     

const int avpriv_mpeg4audio_sample_rates[16] = {

   96000, 88200, 64000, 48000, 44100, 32000,
    24000, 22050, 16000, 12000, 11025, 8000, 7350

 };

Regards

Anand Rudrakshi

Hi Daniel,

Yes, We can build the source code with the apis mentioned. But tizen store has recommended to not use such undocumented apis for developing apps as they can be changed internally without any notice, hence the problem.

 

Regards,

Anand