[asterisk-dev] [asterisk-commits] tilghman: branch tilghman/adaptive_realtime r115575 - in /team/tilghman/adapt...

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri May 9 08:17:05 CDT 2008


On Friday 09 May 2008 02:48:40 Atis Lezdins wrote:
> On Fri, May 9, 2008 at 6:10 AM, SVN commits to the Asterisk project
> wrote:
> >  +       ast_realtime_require_field("queue_members", "paused",
> > RQ_INTEGER, 1, "uniqueid", RQ_INTEGER, 5, NULL);
> >
> >         return res ? AST_MODULE_LOAD_DECLINE : 0;
> >   }
>
> uniqueid is not necessarily integer here.

Correct, but specifying an integer here does not necessarily mean that the
field has to be integer type; it could be a char or varchar, as well.  On the
other hand, if I specified RQ_CHAR, then an integer field would cause a
warning.

-- 
Tilghman



More information about the asterisk-dev mailing list