Yes you can export just functions and no classes but that's really the 'C' way not the C++ way. Are you having trouble importing the classes into the client or exporting them from DLL? anyway here's a 'C' style function export from a C++ Windows DLL interface.
extern "C"
{
__declspec( dllexport ) int AVitalFunction( int iParameter )
{
}
}