MYDDAS: Top Level Functionality
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1535 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
8012773ae1
commit
8b5e4a267c
11
C/stdpreds.c
11
C/stdpreds.c
@ -11,8 +11,11 @@
|
|||||||
* File: stdpreds.c *
|
* File: stdpreds.c *
|
||||||
* comments: General-purpose C implemented system predicates *
|
* comments: General-purpose C implemented system predicates *
|
||||||
* *
|
* *
|
||||||
* Last rev: $Date: 2006-02-05 02:17:54 $,$Author: tiagosoares $ *
|
* Last rev: $Date: 2006-02-05 02:26:35 $,$Author: tiagosoares $ *
|
||||||
* $Log: not supported by cvs2svn $
|
* $Log: not supported by cvs2svn $
|
||||||
|
* Revision 1.99 2006/02/05 02:17:54 tiagosoares
|
||||||
|
* MYDDAS: Top Level Functionality
|
||||||
|
*
|
||||||
* Revision 1.98 2005/12/17 03:25:39 vsc
|
* Revision 1.98 2005/12/17 03:25:39 vsc
|
||||||
* major changes to support online event-based profiling
|
* major changes to support online event-based profiling
|
||||||
* improve error discovery and restart on scanner.
|
* improve error discovery and restart on scanner.
|
||||||
@ -2856,9 +2859,6 @@ Yap_InitBackCPreds(void)
|
|||||||
#if defined CUT_C && (defined MYDDAS_ODBC || defined MYDDAS_MYSQL)
|
#if defined CUT_C && (defined MYDDAS_ODBC || defined MYDDAS_MYSQL)
|
||||||
Yap_InitBackMYDDAS_SharedPreds();
|
Yap_InitBackMYDDAS_SharedPreds();
|
||||||
#endif
|
#endif
|
||||||
#if defined CUT_C && (defined MYDDAS_ODBC || defined MYDDAS_MYSQL)
|
|
||||||
Yap_InitBackMYDDAS_testPreds();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef void (*Proc)(void);
|
typedef void (*Proc)(void);
|
||||||
@ -2970,9 +2970,6 @@ Yap_InitCPreds(void)
|
|||||||
#endif
|
#endif
|
||||||
#if defined MYDDAS_TOP_LEVEL && defined MYDDAS_MYSQL // && defined HAVE_LIBREADLINE
|
#if defined MYDDAS_TOP_LEVEL && defined MYDDAS_MYSQL // && defined HAVE_LIBREADLINE
|
||||||
Yap_InitMYDDAS_TopLevelPreds();
|
Yap_InitMYDDAS_TopLevelPreds();
|
||||||
#endif
|
|
||||||
#if defined CUT_C && (defined MYDDAS_ODBC || defined MYDDAS_MYSQL)
|
|
||||||
Yap_InitMYDDAS_testPreds();
|
|
||||||
#endif
|
#endif
|
||||||
Yap_InitUserCPreds();
|
Yap_InitUserCPreds();
|
||||||
Yap_InitUtilCPreds();
|
Yap_InitUtilCPreds();
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* File: Yap.proto *
|
* File: Yap.proto *
|
||||||
* mods: *
|
* mods: *
|
||||||
* comments: Function declarations for YAP *
|
* comments: Function declarations for YAP *
|
||||||
* version: $Id: Yapproto.h,v 1.68 2006-02-05 02:17:55 tiagosoares Exp $ *
|
* version: $Id: Yapproto.h,v 1.69 2006-02-05 02:26:35 tiagosoares Exp $ *
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/* prototype file for Yap */
|
/* prototype file for Yap */
|
||||||
@ -336,10 +336,6 @@ void STD_PROTO(Yap_InitBackMYDDAS_SharedPreds,(void));
|
|||||||
#if defined MYDDAS_TOP_LEVEL && defined MYDDAS_MYSQL //&& defined HAVE_LIBREADLINE
|
#if defined MYDDAS_TOP_LEVEL && defined MYDDAS_MYSQL //&& defined HAVE_LIBREADLINE
|
||||||
void STD_PROTO(Yap_InitMYDDAS_TopLevelPreds,(void));
|
void STD_PROTO(Yap_InitMYDDAS_TopLevelPreds,(void));
|
||||||
#endif
|
#endif
|
||||||
#if defined CUT_C && (defined MYDDAS_ODBC || defined MYDDAS_MYSQL)
|
|
||||||
void STD_PROTO(Yap_InitMYDDAS_testPreds,(void));
|
|
||||||
void STD_PROTO(Yap_InitBackMYDDAS_testPreds,(void));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* ypsocks.c */
|
/* ypsocks.c */
|
||||||
void STD_PROTO(Yap_InitSockets,(void));
|
void STD_PROTO(Yap_InitSockets,(void));
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
TIME->u.time_final.miliseconds, \
|
TIME->u.time_final.miliseconds, \
|
||||||
TIME->u.time_final.microseconds); \
|
TIME->u.time_final.microseconds); \
|
||||||
} else { \
|
} else { \
|
||||||
printf ("%d Seconds, %d Microseconds", \
|
printf ("%lu Seconds, %lu Microseconds", \
|
||||||
TIME->u.time_copy.tv_sec, \
|
TIME->u.time_copy.tv_sec, \
|
||||||
TIME->u.time_copy.tv_usec); \
|
TIME->u.time_copy.tv_usec); \
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user