Creating Routines for User-Defined Data Types
If your repository contains user-defined fields—fields created as user type fields in Synergy/DE Repository—you can write C language routines to manipulate the data in these fields as it’s read from and written to the database.
Introduction to writing C-language routines
Using xfodbcusr.c as a template to create user-defined data routines