CMGDK r49-rc2
K:/CMGDKv18/SDK/Source/SQL/MySQL/include/my_nosys.h
浏览该文件的文档。
00001 / *   C o p y r i g h t   ( C )   2 0 0 0   M y S Q L   A B 
00002  
00003        T h i s   p r o g r a m   i s   f r e e   s o f t w a r e ;   y o u   c a n   r e d i s t r i b u t e   i t   a n d / o r   m o d i f y 
00004  
00005        i t   u n d e r   t h e   t e r m s   o f   t h e   G N U   G e n e r a l   P u b l i c   L i c e n s e   a s   p u b l i s h e d   b y 
00006  
00007        t h e   F r e e   S o f t w a r e   F o u n d a t i o n ;   v e r s i o n   2   o f   t h e   L i c e n s e . 
00008  
00009        T h i s   p r o g r a m   i s   d i s t r i b u t e d   i n   t h e   h o p e   t h a t   i t   w i l l   b e   u s e f u l , 
00010  
00011        b u t   W I T H O U T   A N Y   W A R R A N T Y ;   w i t h o u t   e v e n   t h e   i m p l i e d   w a r r a n t y   o f 
00012  
00013        M E R C H A N T A B I L I T Y   o r   F I T N E S S   F O R   A   P A R T I C U L A R   P U R P O S E .     S e e   t h e 
00014  
00015        G N U   G e n e r a l   P u b l i c   L i c e n s e   f o r   m o r e   d e t a i l s . 
00016  
00017        Y o u   s h o u l d   h a v e   r e c e i v e d   a   c o p y   o f   t h e   G N U   G e n e r a l   P u b l i c   L i c e n s e 
00018  
00019        a l o n g   w i t h   t h i s   p r o g r a m ;   i f   n o t ,   w r i t e   t o   t h e   F r e e   S o f t w a r e 
00020  
00021        F o u n d a t i o n ,   I n c . ,   5 9   T e m p l e   P l a c e ,   S u i t e   3 3 0 ,   B o s t o n ,   M A     0 2 1 1 1 - 1 3 0 7     U S A   * / 
00022  
00023  / * 
00024  
00025      H e a d e r   t o   r e m o v e   u s e   o f   m y _ f u n c t i o n s   i n   f u n c t i o n s   w h e r e   w e   n e e d   s p e e d   a n d 
00026  
00027      w h e r e   c a l l s   t o   p o s i x   f u n c t i o n s   s h o u l d   w o r k 
00028  
00029  * / 
00030  
00031  # i f n d e f   _ m y _ n o s y s _ h 
00032  
00033  # d e f i n e   _ m y _ n o s y s _ h 
00034  
00035  # i f d e f     _ _ c p l u s p l u s 
00036  
00037  e x t e r n   " C "   { 
00038  
00039  # e n d i f 
00040  
00041  # i f n d e f   _ _ M Y _ N O S Y S _ _ 
00042  
00043  # d e f i n e   _ _ M Y _ N O S Y S _ _ 
00044  
00045  # i f n d e f   H A V E _ S T D L I B _ H 
00046  
00047  # i n c l u d e   < m a l l o c . h > 
00048  
00049  # e n d i f 
00050  
00051  # u n d e f   m y _ r e a d             / *   C a n   b e   p r e d e f i n e d   i n   r a i d . h   * / 
00052  
00053  # u n d e f   m y _ w r i t e 
00054  
00055  # u n d e f   m y _ s e e k 
00056  
00057  # d e f i n e   m y _ r e a d ( a , b , c , d )   m y _ q u i c k _ r e a d ( a , b , c , d ) 
00058  
00059  # d e f i n e   m y _ w r i t e ( a , b , c , d )   m y _ q u i c k _ w r i t e ( a , b , c ) 
00060  
00061  e x t e r n   s i z e _ t   m y _ q u i c k _ r e a d ( F i l e   F i l e d e s , u c h a r   * B u f f e r , s i z e _ t   C o u n t , 
00062  
00063                                                          m y f   m y F l a g s ) ; 
00064  
00065  e x t e r n   s i z e _ t   m y _ q u i c k _ w r i t e ( F i l e   F i l e d e s , c o n s t   u c h a r   * B u f f e r , s i z e _ t   C o u n t ) ; 
00066  
00067  # i f   ! d e f i n e d ( S A F E M A L L O C )   & &   d e f i n e d ( U S E _ H A L L O C ) 
00068  
00069  # d e f i n e   m y _ m a l l o c ( a , b )   h a l l o c ( a , 1 ) 
00070  
00071  # d e f i n e   m y _ n o _ f l a g s _ f r e e ( a )   h f r e e ( a ) 
00072  
00073  # e n d i f 
00074  
00075  # e n d i f   / *   _ _ M Y _ N O S Y S _ _   * / 
00076  
00077  # i f d e f     _ _ c p l u s p l u s 
00078  
00079  } 
00080  
00081  # e n d i f 
00082  
00083  # e n d i f 
00084  
00085  
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义