Back to index

php5  5.3.10
Defines
mysqli_libmysql.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MYSQLI_CLOSE_EXPLICIT   0
#define MYSQLI_CLOSE_IMPLICIT   1
#define MYSQLI_CLOSE_DISCONNECTED   2
#define MYSQLND_OPT_NUMERIC_AND_DATETIME_AS_UNICODE   200
#define MYSQLND_OPT_INT_AND_YEAR_AS_INT   201
#define mysqli_result_is_unbuffered(r)   ((r)->handle && (r)->handle->status == MYSQL_STATUS_USE_RESULT && (r)->data == NULL)
#define mysqli_result_is_unbuffered_and_not_everything_is_fetched(r)   mysqli_result_is_unbuffered(r)
#define mysqli_server_status(c)   (c)->server_status
#define mysqli_stmt_get_id(s)   ((s)->stmt_id)
#define mysqli_stmt_warning_count(s)   mysql_warning_count((s)->mysql)
#define mysqli_stmt_server_status(s)   (s)->mysql->server_status
#define mysqli_stmt_get_connection(s)   (s)->mysql
#define mysqli_close(c, is_forced)   mysql_close((c))
#define mysqli_stmt_close(c, implicit)   mysql_stmt_close((c))
#define mysqli_free_result(r, is_forced)   mysql_free_result((r))
#define mysqli_change_user_silent(c, u, p, d)   mysql_change_user((c), (u), (p), (d))
#define uint1korr(A)   (*(((uint8_t*)(A))))
#define bit_uint2korr(A)
#define bit_uint3korr(A)
#define bit_uint4korr(A)
#define bit_uint5korr(A)
#define bit_uint6korr(A)
#define bit_uint7korr(A)
#define bit_uint8korr(A)

Define Documentation

#define bit_uint2korr (   A)
Value:
((uint16_t) (((uint16_t) (((unsigned char*) (A))[1])) +\
                                   ((uint16_t) (((unsigned char*) (A))[0]) << 8)))

Definition at line 59 of file mysqli_libmysql.h.

#define bit_uint3korr (   A)
Value:
((uint32_t) (((uint32_t) (((unsigned char*) (A))[2])) +\
                                   (((uint32_t) (((unsigned char*) (A))[1])) << 8) +\
                                   (((uint32_t) (((unsigned char*) (A))[0])) << 16)))

Definition at line 64 of file mysqli_libmysql.h.

#define bit_uint4korr (   A)
Value:
((uint32_t) (((uint32_t) (((unsigned char*) (A))[3])) +\
                                   (((uint32_t) (((unsigned char*) (A))[2])) << 8) +\
                                   (((uint32_t) (((unsigned char*) (A))[1])) << 16) +\
                                   (((uint32_t) (((unsigned char*) (A))[0])) << 24)))

Definition at line 70 of file mysqli_libmysql.h.

#define bit_uint5korr (   A)
Value:
((uint64_t)(((uint32_t) (((unsigned char*) (A))[4])) +\
                                    (((uint32_t) (((unsigned char*) (A))[3])) << 8) +\
                                    (((uint32_t) (((unsigned char*) (A))[2])) << 16) +\
                                   (((uint32_t) (((unsigned char*) (A))[1])) << 24)) +\
                                    (((uint64_t) (((unsigned char*) (A))[0])) << 32))

Definition at line 77 of file mysqli_libmysql.h.

#define bit_uint6korr (   A)
Value:
((uint64_t)(((uint32_t) (((unsigned char*) (A))[5])) +\
                                    (((uint32_t) (((unsigned char*) (A))[4])) << 8) +\
                                    (((uint32_t) (((unsigned char*) (A))[3])) << 16) +\
                                    (((uint32_t) (((unsigned char*) (A))[2])) << 24)) +\
                        (((uint64_t) (((uint32_t) (((unsigned char*) (A))[1])) +\
                                    (((uint32_t) (((unsigned char*) (A))[0]) << 8)))) <<\
                                     32))

Definition at line 85 of file mysqli_libmysql.h.

#define bit_uint7korr (   A)
Value:
((uint64_t)(((uint32_t) (((unsigned char*) (A))[6])) +\
                                    (((uint32_t) (((unsigned char*) (A))[5])) << 8) +\
                                    (((uint32_t) (((unsigned char*) (A))[4])) << 16) +\
                                   (((uint32_t) (((unsigned char*) (A))[3])) << 24)) +\
                        (((uint64_t) (((uint32_t) (((unsigned char*) (A))[2])) +\
                                    (((uint32_t) (((unsigned char*) (A))[1])) << 8) +\
                                    (((uint32_t) (((unsigned char*) (A))[0])) << 16))) <<\
                                     32))

Definition at line 95 of file mysqli_libmysql.h.

#define bit_uint8korr (   A)
Value:
((uint64_t)(((uint32_t) (((unsigned char*) (A))[7])) +\
                                    (((uint32_t) (((unsigned char*) (A))[6])) << 8) +\
                                    (((uint32_t) (((unsigned char*) (A))[5])) << 16) +\
                                    (((uint32_t) (((unsigned char*) (A))[4])) << 24)) +\
                        (((uint64_t) (((uint32_t) (((unsigned char*) (A))[3])) +\
                                    (((uint32_t) (((unsigned char*) (A))[2])) << 8) +\
                                    (((uint32_t) (((unsigned char*) (A))[1])) << 16) +\
                                    (((uint32_t) (((unsigned char*) (A))[0])) << 24))) <<\
                                    32))

Definition at line 106 of file mysqli_libmysql.h.

#define mysqli_change_user_silent (   c,
  u,
  p,
  d 
)    mysql_change_user((c), (u), (p), (d))

Definition at line 42 of file mysqli_libmysql.h.

#define mysqli_close (   c,
  is_forced 
)    mysql_close((c))

Definition at line 39 of file mysqli_libmysql.h.

#define MYSQLI_CLOSE_DISCONNECTED   2

Definition at line 28 of file mysqli_libmysql.h.

#define MYSQLI_CLOSE_EXPLICIT   0

Definition at line 26 of file mysqli_libmysql.h.

#define MYSQLI_CLOSE_IMPLICIT   1

Definition at line 27 of file mysqli_libmysql.h.

#define mysqli_free_result (   r,
  is_forced 
)    mysql_free_result((r))

Definition at line 41 of file mysqli_libmysql.h.

#define mysqli_result_is_unbuffered (   r)    ((r)->handle && (r)->handle->status == MYSQL_STATUS_USE_RESULT && (r)->data == NULL)

Definition at line 32 of file mysqli_libmysql.h.

Definition at line 33 of file mysqli_libmysql.h.

#define mysqli_server_status (   c)    (c)->server_status

Definition at line 34 of file mysqli_libmysql.h.

#define mysqli_stmt_close (   c,
  implicit 
)    mysql_stmt_close((c))

Definition at line 40 of file mysqli_libmysql.h.

#define mysqli_stmt_get_connection (   s)    (s)->mysql

Definition at line 38 of file mysqli_libmysql.h.

#define mysqli_stmt_get_id (   s)    ((s)->stmt_id)

Definition at line 35 of file mysqli_libmysql.h.

#define mysqli_stmt_server_status (   s)    (s)->mysql->server_status

Definition at line 37 of file mysqli_libmysql.h.

#define mysqli_stmt_warning_count (   s)    mysql_warning_count((s)->mysql)

Definition at line 36 of file mysqli_libmysql.h.

Definition at line 30 of file mysqli_libmysql.h.

Definition at line 29 of file mysqli_libmysql.h.

#define uint1korr (   A)    (*(((uint8_t*)(A))))

Definition at line 55 of file mysqli_libmysql.h.