~ubuntu-branches/ubuntu/quantal/vala/quantal

« back to all changes in this revision

Viewing changes to vapi/posix.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2011-01-18 09:51:15 UTC
  • mfrom: (1.5.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110118095115-r2jr7c63lr0jzj0y
Tags: 0.11.4-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1266
1266
        public const int AF_INET6;
1267
1267
        [CCode (cheader_filename = "sys/socket.h")]
1268
1268
        public const int AF_UNIX;
 
1269
 
 
1270
        [CCode (cheader_filename = "sys/socket.h")]
 
1271
        public const int SHUT_RD;
 
1272
        [CCode (cheader_filename = "sys/socket.h")]
 
1273
        public const int SHUT_WR;
 
1274
        [CCode (cheader_filename = "sys/socket.h")]
 
1275
        public const int SHUT_RDWR;
 
1276
 
1269
1277
        [CCode (cheader_filename = "sys/socket.h", sentinel = "")]
1270
1278
        public int accept (int sfd, ... );
1271
 
    [CCode (cheader_filename = "sys/socket.h", sentinel = "")]
 
1279
        [CCode (cheader_filename = "sys/socket.h", sentinel = "")]
1272
1280
        public int bind (int sockfd, ...);
1273
1281
        [CCode (cheader_filename = "sys/socket.h",  sentinel = "")]
1274
1282
        public int connect(int sfd, ... );
1275
 
    [CCode (cheader_filename = "sys/socket.h")]
1276
 
    public int getsockopt (int sockfd, int level, int optname, void* optval, out socklen_t optlen);
1277
 
    [CCode (cheader_filename = "sys/socket.h")]
 
1283
        [CCode (cheader_filename = "sys/socket.h")]
 
1284
        public int getsockopt (int sockfd, int level, int optname, void* optval, out socklen_t optlen);
 
1285
        [CCode (cheader_filename = "sys/socket.h")]
1278
1286
        public int listen (int sfd, int backlog);
1279
 
    [CCode (cheader_filename = "sys/socket.h")]
1280
 
    public ssize_t send (int sockfd, void* buf, size_t len, int flags);
1281
 
    [CCode (cheader_filename = "sys/socket.h", sentinel = "")]
1282
 
    public ssize_t sendto (int sockfd, void* buf, size_t len, int flags, ...);
1283
 
    [CCode (cheader_filename = "sys/socket.h", sentinel = "")]
1284
 
    public ssize_t sendmsg (int sockfd, ...);
1285
 
    [CCode (cheader_filename = "sys/socket.h")]
1286
 
    public int setsockopt(int sockfd, int level, int optname, void* optval, socklen_t optlen);
1287
 
    [CCode (cheader_filename = "sys/socket.h")]
 
1287
        [CCode (cheader_filename = "sys/socket.h")]
 
1288
        public ssize_t send (int sockfd, void* buf, size_t len, int flags);
 
1289
        [CCode (cheader_filename = "sys/socket.h", sentinel = "")]
 
1290
        public ssize_t sendto (int sockfd, void* buf, size_t len, int flags, ...);
 
1291
        [CCode (cheader_filename = "sys/socket.h", sentinel = "")]
 
1292
        public ssize_t sendmsg (int sockfd, ...);
 
1293
        [CCode (cheader_filename = "sys/socket.h")]
 
1294
        public int setsockopt (int sockfd, int level, int optname, void* optval, socklen_t optlen);
 
1295
        [CCode (cheader_filename = "sys/socket.h")]
 
1296
        public int shutdown (int sockfd, int how);
 
1297
        [CCode (cheader_filename = "sys/socket.h")]
1288
1298
        public int socket (int domain, int type, int protocol);
1289
1299
        [CCode (cheader_filename = "sys/socket.h")]
1290
1300
        public int socketpair (int domain, int type, int protocol, int[] sv);