int ffurl_register_protocol(URLProtocol *protocol)

{

    URLProtocol **p;

    p = &first_protocol;

    while (*p != NULL)

        p = &(*p)->next;

    *p             = protocol;

    protocol->next = NULL;

    return 0;

}

int ffurl_register_protocol(URLProtocol *protocol)

{

    URLProtocol **p;

    p = &first_protocol;

    while (*p != NULL)

        p = &(*p)->next;

    *p             = protocol;

    protocol->next = NULL;

    return 0;

}

int FUNC_0(URLProtocol *VAR_0)

{

    URLProtocol **p;

    p = &first_protocol;

    while (*p != NULL)

        p = &(*p)->next;

    *p             = VAR_0;

    VAR_0->next = NULL;

    return 0;

}

int FUNC_0(URLProtocol *VAR_0)
{ URLProtocol **p; p = &first_protocol; while (*p != NULL)
p = &(*p)->next; *p             = VAR_0; VAR_0->next = NULL; return 0; }