-int gl_register_data_provider (const char *name, data_provider_t *p) /* {{{ */
-{
- fprintf (stderr, "gl_register_data_provider (name = %s, ptr = %p)\n",
- name, (void *) p);
-
- if (data_provider == NULL)
- data_provider = malloc (sizeof (*data_provider));
- if (data_provider == NULL)
- return (ENOMEM);
-
- *data_provider = *p;
-
- return (0);
-} /* }}} int gl_register_data_provider */
-