In C, you can index arrays with either the array subscript inside of the typical square brackets:
arr[0]
or, with the less common (and somewhat mistifying):
0[arr]
Now, I’ve been using C for quite a while, but never realized that you could do this. It is definitely awesome, and could be really useful in some obfuscated programs. Now, just [...]
I’m announcing my Asterisk 1.6 C AGI library for developers (cAGI). cAGI is a fully compliant Asterisk 1.6 AGI library for C developers. It can be used in production (I’ve been using it on several production boxes for the past 5 months), and has been generally well tested.
cAGI was originally part of my WildPBX project, [...]